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

Side by Side Diff: third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.cpp

Issue 2922803003: Move most scripting-related methods from WebFrame to WebLocalFrame. (Closed)
Patch Set: Rebasing... 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 #include "core/exported/WebRemoteFrameImpl.h" 5 #include "core/exported/WebRemoteFrameImpl.h"
6 6
7 #include "bindings/core/v8/WindowProxy.h" 7 #include "bindings/core/v8/WindowProxy.h"
8 #include "core/dom/Fullscreen.h" 8 #include "core/dom/Fullscreen.h"
9 #include "core/dom/RemoteSecurityContext.h" 9 #include "core/dom/RemoteSecurityContext.h"
10 #include "core/dom/SecurityContext.h" 10 #include "core/dom/SecurityContext.h"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 WebPerformance WebRemoteFrameImpl::Performance() const { 141 WebPerformance WebRemoteFrameImpl::Performance() const {
142 NOTREACHED(); 142 NOTREACHED();
143 return WebPerformance(); 143 return WebPerformance();
144 } 144 }
145 145
146 void WebRemoteFrameImpl::DispatchUnloadEvent() { 146 void WebRemoteFrameImpl::DispatchUnloadEvent() {
147 NOTREACHED(); 147 NOTREACHED();
148 } 148 }
149 149
150 void WebRemoteFrameImpl::ExecuteScriptInIsolatedWorld(
151 int world_id,
152 const WebScriptSource* sources,
153 unsigned num_sources) {
154 NOTREACHED();
155 }
156
157 void WebRemoteFrameImpl::SetIsolatedWorldSecurityOrigin(
158 int world_id,
159 const WebSecurityOrigin&) {
160 NOTREACHED();
161 }
162
163 void WebRemoteFrameImpl::SetIsolatedWorldContentSecurityPolicy(
164 int world_id,
165 const WebString&) {
166 NOTREACHED();
167 }
168
169 void WebRemoteFrameImpl::CollectGarbage() {
170 NOTREACHED();
171 }
172
173 v8::Local<v8::Value> WebRemoteFrameImpl::ExecuteScriptAndReturnValue(
174 const WebScriptSource&) {
175 NOTREACHED();
176 return v8::Local<v8::Value>();
177 }
178
179 void WebRemoteFrameImpl::ExecuteScriptInIsolatedWorld(
180 int world_id,
181 const WebScriptSource* sources_in,
182 unsigned num_sources,
183 WebVector<v8::Local<v8::Value>>* results) {
184 NOTREACHED();
185 }
186
187 v8::Local<v8::Value> WebRemoteFrameImpl::CallFunctionEvenIfScriptDisabled(
188 v8::Local<v8::Function>,
189 v8::Local<v8::Value>,
190 int argc,
191 v8::Local<v8::Value> argv[]) {
192 NOTREACHED();
193 return v8::Local<v8::Value>();
194 }
195
196 void WebRemoteFrameImpl::Reload(WebFrameLoadType) { 150 void WebRemoteFrameImpl::Reload(WebFrameLoadType) {
197 NOTREACHED(); 151 NOTREACHED();
198 } 152 }
199 153
200 void WebRemoteFrameImpl::ReloadWithOverrideURL(const WebURL& override_url, 154 void WebRemoteFrameImpl::ReloadWithOverrideURL(const WebURL& override_url,
201 WebFrameLoadType) { 155 WebFrameLoadType) {
202 NOTREACHED(); 156 NOTREACHED();
203 } 157 }
204 158
205 void WebRemoteFrameImpl::LoadRequest(const WebURLRequest&) { 159 void WebRemoteFrameImpl::LoadRequest(const WebURLRequest&) {
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 } 434 }
481 435
482 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, 436 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope,
483 WebRemoteFrameClient* client) 437 WebRemoteFrameClient* client)
484 : WebRemoteFrameBase(scope), 438 : WebRemoteFrameBase(scope),
485 frame_client_(RemoteFrameClientImpl::Create(this)), 439 frame_client_(RemoteFrameClientImpl::Create(this)),
486 client_(client), 440 client_(client),
487 self_keep_alive_(this) {} 441 self_keep_alive_(this) {}
488 442
489 } // namespace blink 443 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.h ('k') | third_party/WebKit/Source/web/tests/PrerenderingTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698