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

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

Issue 1331213002: Expose the V8 script context from WebRemoteFrame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Changes based on Daniel's review. Created 5 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebRemoteFrameImpl.h ('k') | public/web/WebRemoteFrame.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "config.h" 5 #include "config.h"
6 #include "web/WebRemoteFrameImpl.h" 6 #include "web/WebRemoteFrameImpl.h"
7 7
8 #include "core/frame/FrameView.h" 8 #include "core/frame/FrameView.h"
9 #include "core/frame/RemoteFrame.h" 9 #include "core/frame/RemoteFrame.h"
10 #include "core/frame/Settings.h" 10 #include "core/frame/Settings.h"
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 ASSERT_NOT_REACHED(); 278 ASSERT_NOT_REACHED();
279 return v8::Local<v8::Value>(); 279 return v8::Local<v8::Value>();
280 } 280 }
281 281
282 v8::Local<v8::Context> WebRemoteFrameImpl::mainWorldScriptContext() const 282 v8::Local<v8::Context> WebRemoteFrameImpl::mainWorldScriptContext() const
283 { 283 {
284 ASSERT_NOT_REACHED(); 284 ASSERT_NOT_REACHED();
285 return v8::Local<v8::Context>(); 285 return v8::Local<v8::Context>();
286 } 286 }
287 287
288 v8::Local<v8::Context> WebRemoteFrameImpl::deprecatedMainWorldScriptContext() co nst
289 {
290 return toV8Context(frame(), DOMWrapperWorld::mainWorld());
291 }
292
288 void WebRemoteFrameImpl::reload(bool ignoreCache) 293 void WebRemoteFrameImpl::reload(bool ignoreCache)
289 { 294 {
290 ASSERT_NOT_REACHED(); 295 ASSERT_NOT_REACHED();
291 } 296 }
292 297
293 void WebRemoteFrameImpl::reloadWithOverrideURL(const WebURL& overrideUrl, bool i gnoreCache) 298 void WebRemoteFrameImpl::reloadWithOverrideURL(const WebURL& overrideUrl, bool i gnoreCache)
294 { 299 {
295 ASSERT_NOT_REACHED(); 300 ASSERT_NOT_REACHED();
296 } 301 }
297 302
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
803 : WebRemoteFrame(scope) 808 : WebRemoteFrame(scope)
804 , m_frameClient(RemoteFrameClientImpl::create(this)) 809 , m_frameClient(RemoteFrameClientImpl::create(this))
805 , m_client(client) 810 , m_client(client)
806 #if ENABLE(OILPAN) 811 #if ENABLE(OILPAN)
807 , m_selfKeepAlive(this) 812 , m_selfKeepAlive(this)
808 #endif 813 #endif
809 { 814 {
810 } 815 }
811 816
812 } // namespace blink 817 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebRemoteFrameImpl.h ('k') | public/web/WebRemoteFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698