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

Unified Diff: Source/core/frame/LocalFrame.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/LocalFrame.h ('k') | Source/core/frame/Location.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/LocalFrame.cpp
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
index 11d77a1994498a37f25d7161129b24fa3f67acf9..e6d25ecd19dd39c8a3c67e23290c91d1951bab7f 100644
--- a/Source/core/frame/LocalFrame.cpp
+++ b/Source/core/frame/LocalFrame.cpp
@@ -40,7 +40,7 @@
#include "core/editing/markup.h"
#include "core/events/Event.h"
#include "core/fetch/ResourceFetcher.h"
-#include "core/frame/DOMWindow.h"
+#include "core/frame/LocalDOMWindow.h"
#include "core/frame/EventHandlerRegistry.h"
#include "core/frame/FrameConsole.h"
#include "core/frame/FrameHost.h"
@@ -141,7 +141,7 @@ void LocalFrame::setView(PassRefPtr<FrameView> view)
if (m_view)
m_view->prepareForDetach();
- // Prepare for destruction now, so any unload event handlers get run and the DOMWindow is
+ // Prepare for destruction now, so any unload event handlers get run and the LocalDOMWindow is
// notified. If we wait until the view is destroyed, then things won't be hooked up enough for
// these calls to work.
if (!view && document() && document()->isActive()) {
@@ -169,7 +169,7 @@ void LocalFrame::sendOrientationChangeEvent()
if (page()->visibilityState() != PageVisibilityStateVisible)
return;
- DOMWindow* window = domWindow();
+ LocalDOMWindow* window = domWindow();
if (!window)
return;
window->dispatchEvent(Event::create(EventTypeNames::orientationchange));
@@ -236,7 +236,7 @@ FloatSize LocalFrame::resizePageRectsKeepingRatio(const FloatSize& originalSize,
return resultSize;
}
-void LocalFrame::setDOMWindow(PassRefPtrWillBeRawPtr<DOMWindow> domWindow)
+void LocalFrame::setDOMWindow(PassRefPtrWillBeRawPtr<LocalDOMWindow> domWindow)
{
InspectorInstrumentation::frameWindowDiscarded(this, m_domWindow.get());
if (domWindow)
« no previous file with comments | « Source/core/frame/LocalFrame.h ('k') | Source/core/frame/Location.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698