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

Side by Side Diff: public/web/WebRemoteFrame.h

Issue 1331213002: Expose the V8 script context from WebRemoteFrame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/web/WebRemoteFrameImpl.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebRemoteFrame_h 5 #ifndef WebRemoteFrame_h
6 #define WebRemoteFrame_h 6 #define WebRemoteFrame_h
7 7
8 #include "public/web/WebFrame.h" 8 #include "public/web/WebFrame.h"
9 #include "public/web/WebSandboxFlags.h" 9 #include "public/web/WebSandboxFlags.h"
10 10
(...skipping 26 matching lines...) Expand all
37 virtual void setReplicatedSandboxFlags(WebSandboxFlags) const = 0; 37 virtual void setReplicatedSandboxFlags(WebSandboxFlags) const = 0;
38 38
39 // Set frame name replicated from another process. 39 // Set frame name replicated from another process.
40 virtual void setReplicatedName(const WebString&) const = 0; 40 virtual void setReplicatedName(const WebString&) const = 0;
41 41
42 virtual void DispatchLoadEventForFrameOwner() const = 0; 42 virtual void DispatchLoadEventForFrameOwner() const = 0;
43 43
44 virtual void didStartLoading() = 0; 44 virtual void didStartLoading() = 0;
45 virtual void didStopLoading() = 0; 45 virtual void didStopLoading() = 0;
46 46
47 // This method is only temporary, until <webview> is migrated over to
dcheng 2015/09/11 18:10:53 Suggested comment: Temporary method to allow embed
nasko 2015/09/11 18:24:31 Done.
48 // out-of-process iframes. DO NOT USE for anything else.
49 virtual v8::Local<v8::Context> doNotUseMainWorldScriptContext() const = 0;
dcheng 2015/09/11 18:10:53 I suggest naming this deprecatedMainWorldScriptCon
nasko 2015/09/11 18:24:31 Done.
50
47 protected: 51 protected:
48 explicit WebRemoteFrame(WebTreeScopeType scope) : WebFrame(scope) { } 52 explicit WebRemoteFrame(WebTreeScopeType scope) : WebFrame(scope) { }
49 }; 53 };
50 54
51 } // namespace blink 55 } // namespace blink
52 56
53 #endif // WebRemoteFrame_h 57 #endif // WebRemoteFrame_h
OLDNEW
« no previous file with comments | « Source/web/WebRemoteFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698