Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(882)

Unified Diff: Source/core/frame/DeviceSingleWindowEventController.cpp

Issue 334283004: Rename DOMWindow to LocalDOMWindow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/frame/DeviceSingleWindowEventController.h ('k') | Source/core/frame/EventHandlerRegistry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/DeviceSingleWindowEventController.cpp
diff --git a/Source/core/frame/DeviceSingleWindowEventController.cpp b/Source/core/frame/DeviceSingleWindowEventController.cpp
index 91f852bbfc18333139a8a76a65954f886f0c4163..b0f6c30ce48400ca1a25c70cffa6cc72819e86e7 100644
--- a/Source/core/frame/DeviceSingleWindowEventController.cpp
+++ b/Source/core/frame/DeviceSingleWindowEventController.cpp
@@ -6,7 +6,7 @@
#include "core/frame/DeviceSingleWindowEventController.h"
#include "core/dom/Document.h"
-#include "core/frame/DOMWindow.h"
+#include "core/frame/LocalDOMWindow.h"
#include "core/page/Page.h"
namespace WebCore {
@@ -44,7 +44,7 @@ void DeviceSingleWindowEventController::dispatchDeviceEvent(PassRefPtrWillBeRawP
}
}
-void DeviceSingleWindowEventController::didAddEventListener(DOMWindow* window, const AtomicString& eventType)
+void DeviceSingleWindowEventController::didAddEventListener(LocalDOMWindow* window, const AtomicString& eventType)
{
if (eventType != eventTypeName())
return;
@@ -55,7 +55,7 @@ void DeviceSingleWindowEventController::didAddEventListener(DOMWindow* window, c
m_hasEventListener = true;
}
-void DeviceSingleWindowEventController::didRemoveEventListener(DOMWindow* window, const AtomicString& eventType)
+void DeviceSingleWindowEventController::didRemoveEventListener(LocalDOMWindow* window, const AtomicString& eventType)
{
if (eventType != eventTypeName() || window->hasEventListeners(eventTypeName()))
return;
@@ -64,7 +64,7 @@ void DeviceSingleWindowEventController::didRemoveEventListener(DOMWindow* window
m_hasEventListener = false;
}
-void DeviceSingleWindowEventController::didRemoveAllEventListeners(DOMWindow*)
+void DeviceSingleWindowEventController::didRemoveAllEventListeners(LocalDOMWindow*)
{
stopUpdating();
m_hasEventListener = false;
« no previous file with comments | « Source/core/frame/DeviceSingleWindowEventController.h ('k') | Source/core/frame/EventHandlerRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698