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

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

Issue 2923053002: Move MainWorldScriptContext accessor/method from WebFrame to WebLocalFrame. (Closed)
Patch Set: . Created 3 years, 6 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 "core/frame/WebRemoteFrameBase.h" 9 #include "core/frame/WebRemoteFrameBase.h"
10 #include "platform/heap/SelfKeepAlive.h" 10 #include "platform/heap/SelfKeepAlive.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 void ExecuteScriptInIsolatedWorld( 59 void ExecuteScriptInIsolatedWorld(
60 int world_id, 60 int world_id,
61 const WebScriptSource* sources_in, 61 const WebScriptSource* sources_in,
62 unsigned num_sources, 62 unsigned num_sources,
63 WebVector<v8::Local<v8::Value>>* results) override; 63 WebVector<v8::Local<v8::Value>>* results) override;
64 v8::Local<v8::Value> CallFunctionEvenIfScriptDisabled( 64 v8::Local<v8::Value> CallFunctionEvenIfScriptDisabled(
65 v8::Local<v8::Function>, 65 v8::Local<v8::Function>,
66 v8::Local<v8::Value>, 66 v8::Local<v8::Value>,
67 int argc, 67 int argc,
68 v8::Local<v8::Value> argv[]) override; 68 v8::Local<v8::Value> argv[]) override;
69 v8::Local<v8::Context> MainWorldScriptContext() const override;
70 void Reload(WebFrameLoadType) override; 69 void Reload(WebFrameLoadType) override;
71 void ReloadWithOverrideURL(const WebURL& override_url, 70 void ReloadWithOverrideURL(const WebURL& override_url,
72 WebFrameLoadType) override; 71 WebFrameLoadType) override;
73 void LoadRequest(const WebURLRequest&) override; 72 void LoadRequest(const WebURLRequest&) override;
74 void LoadHTMLString(const WebData& html, 73 void LoadHTMLString(const WebData& html,
75 const WebURL& base_url, 74 const WebURL& base_url,
76 const WebURL& unreachable_url, 75 const WebURL& unreachable_url,
77 bool replace) override; 76 bool replace) override;
78 void StopLoading() override; 77 void StopLoading() override;
79 WebDataSource* ProvisionalDataSource() const override; 78 WebDataSource* ProvisionalDataSource() const override;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 171
173 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, 172 DEFINE_TYPE_CASTS(WebRemoteFrameImpl,
174 WebFrame, 173 WebFrame,
175 frame, 174 frame,
176 frame->IsWebRemoteFrame(), 175 frame->IsWebRemoteFrame(),
177 frame.IsWebRemoteFrame()); 176 frame.IsWebRemoteFrame());
178 177
179 } // namespace blink 178 } // namespace blink
180 179
181 #endif // WebRemoteFrameImpl_h 180 #endif // WebRemoteFrameImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698