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

Side by Side Diff: third_party/WebKit/Source/web/WebRemoteFrameImpl.h

Issue 2626183003: Switch RemoteWindowProxy to use v8::Context::NewRemoteContext. (Closed)
Patch Set: rebase 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 unified diff | Download patch
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 WebRemoteFrameImpl_h 5 #ifndef WebRemoteFrameImpl_h
6 #define WebRemoteFrameImpl_h 6 #define WebRemoteFrameImpl_h
7 7
8 #include "core/frame/RemoteFrame.h" 8 #include "core/frame/RemoteFrame.h"
9 #include "platform/heap/SelfKeepAlive.h" 9 #include "platform/heap/SelfKeepAlive.h"
10 #include "public/platform/WebInsecureRequestPolicy.h" 10 #include "public/platform/WebInsecureRequestPolicy.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 int worldID, 68 int worldID,
69 const WebScriptSource* sourcesIn, 69 const WebScriptSource* sourcesIn,
70 unsigned numSources, 70 unsigned numSources,
71 WebVector<v8::Local<v8::Value>>* results) override; 71 WebVector<v8::Local<v8::Value>>* results) override;
72 v8::Local<v8::Value> callFunctionEvenIfScriptDisabled( 72 v8::Local<v8::Value> callFunctionEvenIfScriptDisabled(
73 v8::Local<v8::Function>, 73 v8::Local<v8::Function>,
74 v8::Local<v8::Value>, 74 v8::Local<v8::Value>,
75 int argc, 75 int argc,
76 v8::Local<v8::Value> argv[]) override; 76 v8::Local<v8::Value> argv[]) override;
77 v8::Local<v8::Context> mainWorldScriptContext() const override; 77 v8::Local<v8::Context> mainWorldScriptContext() const override;
78 v8::Local<v8::Context> deprecatedMainWorldScriptContext() const override;
79 void reload(WebFrameLoadType) override; 78 void reload(WebFrameLoadType) override;
80 void reloadWithOverrideURL(const WebURL& overrideUrl, 79 void reloadWithOverrideURL(const WebURL& overrideUrl,
81 WebFrameLoadType) override; 80 WebFrameLoadType) override;
82 void loadRequest(const WebURLRequest&) override; 81 void loadRequest(const WebURLRequest&) override;
83 void loadHTMLString(const WebData& html, 82 void loadHTMLString(const WebData& html,
84 const WebURL& baseURL, 83 const WebURL& baseURL,
85 const WebURL& unreachableURL, 84 const WebURL& unreachableURL,
86 bool replace) override; 85 bool replace) override;
87 void stopLoading() override; 86 void stopLoading() override;
88 WebDataSource* provisionalDataSource() const override; 87 WebDataSource* provisionalDataSource() const override;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 const WebParsedFeaturePolicyHeader& parsedHeader) const override; 148 const WebParsedFeaturePolicyHeader& parsedHeader) const override;
150 void addReplicatedContentSecurityPolicyHeader( 149 void addReplicatedContentSecurityPolicyHeader(
151 const WebString& headerValue, 150 const WebString& headerValue,
152 WebContentSecurityPolicyType, 151 WebContentSecurityPolicyType,
153 WebContentSecurityPolicySource) const override; 152 WebContentSecurityPolicySource) const override;
154 void resetReplicatedContentSecurityPolicy() const override; 153 void resetReplicatedContentSecurityPolicy() const override;
155 void setReplicatedInsecureRequestPolicy( 154 void setReplicatedInsecureRequestPolicy(
156 WebInsecureRequestPolicy) const override; 155 WebInsecureRequestPolicy) const override;
157 void setReplicatedPotentiallyTrustworthyUniqueOrigin(bool) const override; 156 void setReplicatedPotentiallyTrustworthyUniqueOrigin(bool) const override;
158 void dispatchLoadEventOnFrameOwner() const override; 157 void dispatchLoadEventOnFrameOwner() const override;
159
160 void didStartLoading() override; 158 void didStartLoading() override;
161 void didStopLoading() override; 159 void didStopLoading() override;
162
163 bool isIgnoredForHitTest() const override; 160 bool isIgnoredForHitTest() const override;
164
165 void willEnterFullscreen() override; 161 void willEnterFullscreen() override;
162 v8::Local<v8::Object> globalProxy() const override;
166 163
167 void setHasReceivedUserGesture() override; 164 void setHasReceivedUserGesture() override;
168 165
169 DECLARE_TRACE(); 166 DECLARE_TRACE();
170 167
171 private: 168 private:
172 WebRemoteFrameImpl(WebTreeScopeType, WebRemoteFrameClient*); 169 WebRemoteFrameImpl(WebTreeScopeType, WebRemoteFrameClient*);
173 170
174 // Inherited from WebFrame, but intentionally hidden: it never makes sense 171 // Inherited from WebFrame, but intentionally hidden: it never makes sense
175 // to call these on a WebRemoteFrameImpl. 172 // to call these on a WebRemoteFrameImpl.
(...skipping 14 matching lines...) Expand all
190 187
191 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, 188 DEFINE_TYPE_CASTS(WebRemoteFrameImpl,
192 WebFrame, 189 WebFrame,
193 frame, 190 frame,
194 frame->isWebRemoteFrame(), 191 frame->isWebRemoteFrame(),
195 frame.isWebRemoteFrame()); 192 frame.isWebRemoteFrame());
196 193
197 } // namespace blink 194 } // namespace blink
198 195
199 #endif // WebRemoteFrameImpl_h 196 #endif // WebRemoteFrameImpl_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/RemoteFrame.h ('k') | third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698