Commit e83d9f65 authored by Tatiana Meshkova's avatar Tatiana Meshkova

Updated components for bug 900908

parent bc96f07b
......@@ -43,7 +43,7 @@ EmbedChromeListener::~EmbedChromeListener()
{
}
NS_IMPL_ISUPPORTS1(EmbedChromeListener, nsIDOMEventListener)
NS_IMPL_ISUPPORTS(EmbedChromeListener, nsIDOMEventListener)
nsresult
GetDOMWindowByNode(nsIDOMNode *aNode, nsIDOMWindow **aDOMWindow)
......
......@@ -40,7 +40,7 @@ EmbedChromeManager::~EmbedChromeManager()
{
}
NS_IMPL_ISUPPORTS2(EmbedChromeManager, nsIObserver, nsSupportsWeakReference)
NS_IMPL_ISUPPORTS(EmbedChromeManager, nsIObserver, nsSupportsWeakReference)
nsresult
EmbedChromeManager::Init()
......
......@@ -11,7 +11,7 @@
using namespace mozilla;
using mozilla::dom::Link;
NS_IMPL_ISUPPORTS2(EmbedHistoryListener, IHistory, nsIRunnable)
NS_IMPL_ISUPPORTS(EmbedHistoryListener, IHistory, nsIRunnable)
EmbedHistoryListener* EmbedHistoryListener::sHistory = NULL;
......
......@@ -33,7 +33,7 @@ EmbedPromptRegister::~EmbedPromptRegister()
{
}
NS_IMPL_ISUPPORTS2(EmbedPromptRegister, nsIObserver, nsSupportsWeakReference)
NS_IMPL_ISUPPORTS(EmbedPromptRegister, nsIObserver, nsSupportsWeakReference)
nsresult
EmbedPromptRegister::Init()
......
......@@ -56,7 +56,7 @@ EmbedPromptOuterObserver::~EmbedPromptOuterObserver()
OnDestroy();
}
NS_IMPL_ISUPPORTS2(EmbedPromptOuterObserver, nsIObserver, nsSupportsWeakReference)
NS_IMPL_ISUPPORTS(EmbedPromptOuterObserver, nsIObserver, nsSupportsWeakReference)
NS_IMETHODIMP
EmbedPromptOuterObserver::Observe(nsISupports *aSubject,
......@@ -80,7 +80,7 @@ EmbedPromptFactory::~EmbedPromptFactory()
{
}
NS_IMPL_ISUPPORTS1(EmbedPromptFactory, nsIPromptFactory)
NS_IMPL_ISUPPORTS(EmbedPromptFactory, nsIPromptFactory)
NS_IMETHODIMP
......@@ -132,7 +132,7 @@ EmbedPromptService::~EmbedPromptService()
}
}
NS_IMPL_ISUPPORTS2(EmbedPromptService, nsIPrompt, nsIEmbedMessageListener)
NS_IMPL_ISUPPORTS(EmbedPromptService, nsIPrompt, nsIEmbedMessageListener)
NS_IMETHODIMP
EmbedPromptService::Alert(const char16_t* aDialogTitle,
......@@ -530,7 +530,7 @@ EmbedAuthPromptService::OnDestroyNotification()
CancelResponse();
}
NS_IMPL_ISUPPORTS2(EmbedAuthPromptService, nsIAuthPrompt2, nsIEmbedMessageListener)
NS_IMPL_ISUPPORTS(EmbedAuthPromptService, nsIAuthPrompt2, nsIEmbedMessageListener)
NS_IMETHODIMP
EmbedAuthPromptService::PromptAuth(nsIChannel* aChannel,
......@@ -576,7 +576,7 @@ public:
nsCOMPtr<nsISupports> mContext;
};
NS_IMPL_ISUPPORTS1(nsAuthCancelableConsumer, nsICancelable);
NS_IMPL_ISUPPORTS(nsAuthCancelableConsumer, nsICancelable);
static nsCString getFormattedHostname(nsIURI* uri)
{
......@@ -646,7 +646,7 @@ public:
EmbedAsyncAuthPrompt* mPrompt;
};
NS_IMPL_ISUPPORTS1(EmbedAuthRunnable, nsIRunnable)
NS_IMPL_ISUPPORTS(EmbedAuthRunnable, nsIRunnable)
NS_IMETHODIMP
EmbedAuthRunnable::Run()
......
......@@ -8,7 +8,7 @@
namespace mozilla {
namespace embedlite {
NS_IMPL_ISUPPORTS1(GenericFactory, nsIFactory)
NS_IMPL_ISUPPORTS(GenericFactory, nsIFactory)
NS_IMETHODIMP
GenericFactory::CreateInstance(nsISupports* aOuter, REFNSIID aIID,
......
......@@ -18,7 +18,7 @@
using namespace mozilla;
NS_IMPL_ISUPPORTS2(nsEmbedAlertsService, nsIAlertsService, nsIAlertsProgressListener)
NS_IMPL_ISUPPORTS(nsEmbedAlertsService, nsIAlertsService, nsIAlertsProgressListener)
nsEmbedAlertsService::nsEmbedAlertsService()
{
......
......@@ -61,7 +61,7 @@ EmbedTouchListener::~EmbedTouchListener()
{
}
NS_IMPL_ISUPPORTS1(EmbedTouchListener, nsIDOMEventListener)
NS_IMPL_ISUPPORTS(EmbedTouchListener, nsIDOMEventListener)
void EmbedTouchListener::HandleSingleTap(const CSSPoint& aPoint, int32_t, const mozilla::layers::ScrollableLayerGuid&)
{
......
......@@ -40,7 +40,7 @@ EmbedTouchManager::~EmbedTouchManager()
{
}
NS_IMPL_ISUPPORTS2(EmbedTouchManager, nsIObserver, nsSupportsWeakReference)
NS_IMPL_ISUPPORTS(EmbedTouchManager, nsIObserver, nsSupportsWeakReference)
nsresult
EmbedTouchManager::Init()
......
......@@ -36,7 +36,7 @@ EmbedWidgetFactoryRegister::~EmbedWidgetFactoryRegister()
{
}
NS_IMPL_ISUPPORTS1(EmbedWidgetFactoryRegister, nsSupportsWeakReference)
NS_IMPL_ISUPPORTS(EmbedWidgetFactoryRegister, nsSupportsWeakReference)
nsresult
EmbedWidgetFactoryRegister::Init()
......
......@@ -8,7 +8,7 @@
namespace mozilla {
namespace embedlite {
NS_IMPL_ISUPPORTS1(GenericFactory, nsIFactory)
NS_IMPL_ISUPPORTS(GenericFactory, nsIFactory)
NS_IMETHODIMP
GenericFactory::CreateInstance(nsISupports* aOuter, REFNSIID aIID,
......
......@@ -21,7 +21,7 @@ using namespace mozilla;
static NS_DEFINE_CID(kCClipboardCID, NS_CLIPBOARD_CID);
static const char* sClipboardTextFlavors[] = { kUnicodeMime };
NS_IMPL_ISUPPORTS1(nsEmbedClipboard, nsIClipboard)
NS_IMPL_ISUPPORTS(nsEmbedClipboard, nsIClipboard)
nsEmbedClipboard::nsEmbedClipboard() : nsIClipboard()
{
......
......@@ -22,7 +22,7 @@
/* Implementation file */
NS_IMPL_ISUPPORTS2(nsEmbedFilePicker, nsIFilePicker, nsIEmbedMessageListener)
NS_IMPL_ISUPPORTS(nsEmbedFilePicker, nsIFilePicker, nsIEmbedMessageListener)
nsEmbedFilePicker::nsEmbedFilePicker()
{
......@@ -387,7 +387,7 @@ private:
nsCOMPtr<nsIDOMWindowUtils> utils;
};
NS_IMPL_ISUPPORTS1(nsBaseFilePickerEnumerator, nsISimpleEnumerator)
NS_IMPL_ISUPPORTS(nsBaseFilePickerEnumerator, nsISimpleEnumerator)
NS_IMETHODIMP
nsEmbedFilePicker::GetDomfiles(nsISimpleEnumerator * *aDomfiles)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment