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

Unified Diff: third_party/WebKit/Source/core/frame/RemoteFrame.cpp

Issue 2620313002: Refactor WindowProxy into Local and Remote subclasses. (Closed)
Patch Set: explicit Created 3 years, 11 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 | « third_party/WebKit/Source/core/frame/RemoteFrame.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/RemoteFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/RemoteFrame.cpp b/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
index 558aed7e956e07363603fffee4ddc80e5ebdc11c..c9c83df324d193830b541a5d379d2fa9b3f58416 100644
--- a/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
@@ -30,7 +30,7 @@ inline RemoteFrame::RemoteFrame(RemoteFrameClient* client,
FrameOwner* owner)
: Frame(client, host, owner),
m_securityContext(RemoteSecurityContext::create()),
- m_windowProxyManager(WindowProxyManager::create(*this)) {
+ m_windowProxyManager(RemoteWindowProxyManager::create(*this)) {
m_domWindow = RemoteDOMWindow::create(*this);
}
@@ -187,6 +187,10 @@ void RemoteFrame::advanceFocus(WebFocusType type, LocalFrame* source) {
client()->advanceFocus(type, source);
}
+WindowProxyManagerBase* RemoteFrame::getWindowProxyManager() const {
+ return m_windowProxyManager.get();
+}
+
void RemoteFrame::detachChildren() {
using FrameVector = HeapVector<Member<Frame>>;
FrameVector childrenToDetach;
« no previous file with comments | « third_party/WebKit/Source/core/frame/RemoteFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698