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

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

Issue 2923053002: Move MainWorldScriptContext accessor/method 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 "web/WebRemoteFrameImpl.h" 5 #include "web/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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 181
182 v8::Local<v8::Value> WebRemoteFrameImpl::CallFunctionEvenIfScriptDisabled( 182 v8::Local<v8::Value> WebRemoteFrameImpl::CallFunctionEvenIfScriptDisabled(
183 v8::Local<v8::Function>, 183 v8::Local<v8::Function>,
184 v8::Local<v8::Value>, 184 v8::Local<v8::Value>,
185 int argc, 185 int argc,
186 v8::Local<v8::Value> argv[]) { 186 v8::Local<v8::Value> argv[]) {
187 NOTREACHED(); 187 NOTREACHED();
188 return v8::Local<v8::Value>(); 188 return v8::Local<v8::Value>();
189 } 189 }
190 190
191 v8::Local<v8::Context> WebRemoteFrameImpl::MainWorldScriptContext() const {
192 NOTREACHED();
193 return v8::Local<v8::Context>();
194 }
195
196 void WebRemoteFrameImpl::Reload(WebFrameLoadType) { 191 void WebRemoteFrameImpl::Reload(WebFrameLoadType) {
197 NOTREACHED(); 192 NOTREACHED();
198 } 193 }
199 194
200 void WebRemoteFrameImpl::ReloadWithOverrideURL(const WebURL& override_url, 195 void WebRemoteFrameImpl::ReloadWithOverrideURL(const WebURL& override_url,
201 WebFrameLoadType) { 196 WebFrameLoadType) {
202 NOTREACHED(); 197 NOTREACHED();
203 } 198 }
204 199
205 void WebRemoteFrameImpl::LoadRequest(const WebURLRequest&) { 200 void WebRemoteFrameImpl::LoadRequest(const WebURLRequest&) {
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 } 479 }
485 480
486 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, 481 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope,
487 WebRemoteFrameClient* client) 482 WebRemoteFrameClient* client)
488 : WebRemoteFrameBase(scope), 483 : WebRemoteFrameBase(scope),
489 frame_client_(RemoteFrameClientImpl::Create(this)), 484 frame_client_(RemoteFrameClientImpl::Create(this)),
490 client_(client), 485 client_(client),
491 self_keep_alive_(this) {} 486 self_keep_alive_(this) {}
492 487
493 } // namespace blink 488 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698