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

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

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
Index: third_party/WebKit/Source/core/frame/RemoteFrame.h
diff --git a/third_party/WebKit/Source/core/frame/RemoteFrame.h b/third_party/WebKit/Source/core/frame/RemoteFrame.h
index 777c92d9de35c547fbfe79347f242a982bebec0f..412ec72e8d15f67ed8c9d8f960afda2706855fd7 100644
--- a/third_party/WebKit/Source/core/frame/RemoteFrame.h
+++ b/third_party/WebKit/Source/core/frame/RemoteFrame.h
@@ -17,8 +17,8 @@ class IntRect;
class LocalFrame;
class RemoteFrameClient;
class RemoteFrameView;
+class RemoteWindowProxyManager;
class WebLayer;
-class WindowProxyManager;
struct FrameLoadRequest;
class CORE_EXPORT RemoteFrame final : public Frame {
@@ -68,9 +68,8 @@ class CORE_EXPORT RemoteFrame final : public Frame {
RemoteFrame(RemoteFrameClient*, FrameHost*, FrameOwner*);
// Internal Frame helper overrides:
- WindowProxyManager* getWindowProxyManager() const override {
- return m_windowProxyManager.get();
- }
+ WindowProxyManagerBase* getWindowProxyManager() const override;
+
// Intentionally private to prevent redundant checks when the type is
// already RemoteFrame.
bool isLocalFrame() const override { return false; }
@@ -80,7 +79,7 @@ class CORE_EXPORT RemoteFrame final : public Frame {
Member<RemoteFrameView> m_view;
Member<RemoteSecurityContext> m_securityContext;
- Member<WindowProxyManager> m_windowProxyManager;
+ Member<RemoteWindowProxyManager> m_windowProxyManager;
WebLayer* m_webLayer = nullptr;
};
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.cpp ('k') | third_party/WebKit/Source/core/frame/RemoteFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698