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

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

Issue 2760793002: Use v8::Context::NewRemoteContext in RemoteWindowProxy. (Closed)
Patch Set: RemoteDOMWindow in DOMDataStore Created 3 years, 9 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 f2fdbf8263ee678e6ae3606d691a2862d8a16cc4..3f4db59e52d611e4241be9c1874b66994501d383 100644
--- a/third_party/WebKit/Source/core/frame/RemoteFrame.h
+++ b/third_party/WebKit/Source/core/frame/RemoteFrame.h
@@ -14,6 +14,7 @@ namespace blink {
class Event;
class LocalFrame;
+class RemoteDOMWindow;
class RemoteFrameClient;
class RemoteFrameView;
class WebLayer;
@@ -25,6 +26,11 @@ class CORE_EXPORT RemoteFrame final : public Frame {
~RemoteFrame() override;
+ // Note: this functions is not virtual but intentionally shadows the
+ // corresponding method in the Frame base class to return the
+ // RemoteFrame-specific subclass.
+ RemoteDOMWindow* domWindow() const;
+
// Frame overrides:
DECLARE_VIRTUAL_TRACE();
void navigate(Document& originDocument,

Powered by Google App Engine
This is Rietveld 408576698