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

Unified Diff: Source/core/page/DOMWindowPagePopup.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/page/DOMWindowPagePopup.h ('k') | Source/core/page/EventHandler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/DOMWindowPagePopup.cpp
diff --git a/Source/core/page/DOMWindowPagePopup.cpp b/Source/core/page/DOMWindowPagePopup.cpp
index ec7f963e380716cbe3814aee93106dd466867b8f..1be6d321876f4ca475444a26cea6cb59d1b1fe7b 100644
--- a/Source/core/page/DOMWindowPagePopup.cpp
+++ b/Source/core/page/DOMWindowPagePopup.cpp
@@ -31,7 +31,7 @@
#include "config.h"
#include "core/page/DOMWindowPagePopup.h"
-#include "core/frame/DOMWindow.h"
+#include "core/frame/LocalDOMWindow.h"
#include "core/page/PagePopupController.h"
namespace WebCore {
@@ -49,20 +49,20 @@ const char* DOMWindowPagePopup::supplementName()
return "DOMWindowPagePopup";
}
-PagePopupController* DOMWindowPagePopup::pagePopupController(DOMWindow& window)
+PagePopupController* DOMWindowPagePopup::pagePopupController(LocalDOMWindow& window)
{
DOMWindowPagePopup* supplement = static_cast<DOMWindowPagePopup*>(from(&window, supplementName()));
ASSERT(supplement);
return supplement->m_controller.get();
}
-void DOMWindowPagePopup::install(DOMWindow& window, PagePopupClient* popupClient)
+void DOMWindowPagePopup::install(LocalDOMWindow& window, PagePopupClient* popupClient)
{
ASSERT(popupClient);
provideTo(window, supplementName(), adoptPtrWillBeNoop(new DOMWindowPagePopup(popupClient)));
}
-void DOMWindowPagePopup::uninstall(DOMWindow& window)
+void DOMWindowPagePopup::uninstall(LocalDOMWindow& window)
{
pagePopupController(window)->clearPagePopupClient();
window.removeSupplement(supplementName());
@@ -71,7 +71,7 @@ void DOMWindowPagePopup::uninstall(DOMWindow& window)
void DOMWindowPagePopup::trace(Visitor* visitor)
{
visitor->trace(m_controller);
- WillBeHeapSupplement<DOMWindow>::trace(visitor);
+ WillBeHeapSupplement<LocalDOMWindow>::trace(visitor);
}
}
« no previous file with comments | « Source/core/page/DOMWindowPagePopup.h ('k') | Source/core/page/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698