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

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

Issue 2721693002: Revert of Switch RemoteWindowProxy to use v8::Context::NewRemoteContext. (Closed)
Patch Set: 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;
78 void reload(WebFrameLoadType) override; 79 void reload(WebFrameLoadType) override;
79 void reloadWithOverrideURL(const WebURL& overrideUrl, 80 void reloadWithOverrideURL(const WebURL& overrideUrl,
80 WebFrameLoadType) override; 81 WebFrameLoadType) override;
81 void loadRequest(const WebURLRequest&) override; 82 void loadRequest(const WebURLRequest&) override;
82 void loadHTMLString(const WebData& html, 83 void loadHTMLString(const WebData& html,
83 const WebURL& baseURL, 84 const WebURL& baseURL,
84 const WebURL& unreachableURL, 85 const WebURL& unreachableURL,
85 bool replace) override; 86 bool replace) override;
86 void stopLoading() override; 87 void stopLoading() override;
87 WebDataSource* provisionalDataSource() const override; 88 WebDataSource* provisionalDataSource() const override;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 const WebParsedFeaturePolicyHeader& parsedHeader) const override; 149 const WebParsedFeaturePolicyHeader& parsedHeader) const override;
149 void addReplicatedContentSecurityPolicyHeader( 150 void addReplicatedContentSecurityPolicyHeader(
150 const WebString& headerValue, 151 const WebString& headerValue,
151 WebContentSecurityPolicyType, 152 WebContentSecurityPolicyType,
152 WebContentSecurityPolicySource) const override; 153 WebContentSecurityPolicySource) const override;
153 void resetReplicatedContentSecurityPolicy() const override; 154 void resetReplicatedContentSecurityPolicy() const override;
154 void setReplicatedInsecureRequestPolicy( 155 void setReplicatedInsecureRequestPolicy(
155 WebInsecureRequestPolicy) const override; 156 WebInsecureRequestPolicy) const override;
156 void setReplicatedPotentiallyTrustworthyUniqueOrigin(bool) const override; 157 void setReplicatedPotentiallyTrustworthyUniqueOrigin(bool) const override;
157 void dispatchLoadEventOnFrameOwner() const override; 158 void dispatchLoadEventOnFrameOwner() const override;
159
158 void didStartLoading() override; 160 void didStartLoading() override;
159 void didStopLoading() override; 161 void didStopLoading() override;
162
160 bool isIgnoredForHitTest() const override; 163 bool isIgnoredForHitTest() const override;
164
161 void willEnterFullscreen() override; 165 void willEnterFullscreen() override;
162 v8::Local<v8::Object> globalProxy() const override;
163 166
164 void setHasReceivedUserGesture() override; 167 void setHasReceivedUserGesture() override;
165 168
166 DECLARE_TRACE(); 169 DECLARE_TRACE();
167 170
168 private: 171 private:
169 WebRemoteFrameImpl(WebTreeScopeType, WebRemoteFrameClient*); 172 WebRemoteFrameImpl(WebTreeScopeType, WebRemoteFrameClient*);
170 173
171 // Inherited from WebFrame, but intentionally hidden: it never makes sense 174 // Inherited from WebFrame, but intentionally hidden: it never makes sense
172 // to call these on a WebRemoteFrameImpl. 175 // to call these on a WebRemoteFrameImpl.
(...skipping 14 matching lines...) Expand all
187 190
188 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, 191 DEFINE_TYPE_CASTS(WebRemoteFrameImpl,
189 WebFrame, 192 WebFrame,
190 frame, 193 frame,
191 frame->isWebRemoteFrame(), 194 frame->isWebRemoteFrame(),
192 frame.isWebRemoteFrame()); 195 frame.isWebRemoteFrame());
193 196
194 } // namespace blink 197 } // namespace blink
195 198
196 #endif // WebRemoteFrameImpl_h 199 #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