| OLD | NEW |
| 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/FrameOwner.h" | 8 #include "core/frame/FrameOwner.h" |
| 9 #include "core/frame/FrameView.h" | 9 #include "core/frame/FrameView.h" |
| 10 #include "core/frame/RemoteFrame.h" | 10 #include "core/frame/RemoteFrame.h" |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 return false; | 360 return false; |
| 361 } | 361 } |
| 362 | 362 |
| 363 v8::Handle<v8::Value> WebRemoteFrameImpl::executeScriptAndReturnValue( | 363 v8::Handle<v8::Value> WebRemoteFrameImpl::executeScriptAndReturnValue( |
| 364 const WebScriptSource&) | 364 const WebScriptSource&) |
| 365 { | 365 { |
| 366 ASSERT_NOT_REACHED(); | 366 ASSERT_NOT_REACHED(); |
| 367 return v8::Handle<v8::Value>(); | 367 return v8::Handle<v8::Value>(); |
| 368 } | 368 } |
| 369 | 369 |
| 370 void WebRemoteFrameImpl::executeScriptAndReturnValue( |
| 371 const WebScriptSource&, WebScriptCallback* callback) |
| 372 { |
| 373 ASSERT_NOT_REACHED(); |
| 374 } |
| 375 |
| 370 void WebRemoteFrameImpl::executeScriptInIsolatedWorld( | 376 void WebRemoteFrameImpl::executeScriptInIsolatedWorld( |
| 371 int worldID, const WebScriptSource* sourcesIn, unsigned numSources, | 377 int worldID, const WebScriptSource* sourcesIn, unsigned numSources, |
| 372 int extensionGroup, WebVector<v8::Local<v8::Value> >* results) | 378 int extensionGroup, WebVector<v8::Local<v8::Value> >* results) |
| 373 { | 379 { |
| 374 ASSERT_NOT_REACHED(); | 380 ASSERT_NOT_REACHED(); |
| 375 } | 381 } |
| 376 | 382 |
| 383 void WebRemoteFrameImpl::executeScriptInIsolatedWorld( |
| 384 int worldID, const WebScriptSource* sourcesIn, unsigned numSources, |
| 385 int extensionGroup, WebScriptCallback* callback) |
| 386 { |
| 387 ASSERT_NOT_REACHED(); |
| 388 } |
| 389 |
| 377 v8::Handle<v8::Value> WebRemoteFrameImpl::callFunctionEvenIfScriptDisabled( | 390 v8::Handle<v8::Value> WebRemoteFrameImpl::callFunctionEvenIfScriptDisabled( |
| 378 v8::Handle<v8::Function>, | 391 v8::Handle<v8::Function>, |
| 379 v8::Handle<v8::Value>, | 392 v8::Handle<v8::Value>, |
| 380 int argc, | 393 int argc, |
| 381 v8::Handle<v8::Value> argv[]) | 394 v8::Handle<v8::Value> argv[]) |
| 382 { | 395 { |
| 383 ASSERT_NOT_REACHED(); | 396 ASSERT_NOT_REACHED(); |
| 384 return v8::Handle<v8::Value>(); | 397 return v8::Handle<v8::Value>(); |
| 385 } | 398 } |
| 386 | 399 |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 861 void WebRemoteFrameImpl::initializeFromFrame(WebLocalFrame* source) const | 874 void WebRemoteFrameImpl::initializeFromFrame(WebLocalFrame* source) const |
| 862 { | 875 { |
| 863 ASSERT(source); | 876 ASSERT(source); |
| 864 WebLocalFrameImpl* localFrameImpl = toWebLocalFrameImpl(source); | 877 WebLocalFrameImpl* localFrameImpl = toWebLocalFrameImpl(source); |
| 865 client()->initializeChildFrame( | 878 client()->initializeChildFrame( |
| 866 localFrameImpl->frame()->view()->frameRect(), | 879 localFrameImpl->frame()->view()->frameRect(), |
| 867 localFrameImpl->frame()->view()->visibleContentScaleFactor()); | 880 localFrameImpl->frame()->view()->visibleContentScaleFactor()); |
| 868 } | 881 } |
| 869 | 882 |
| 870 } // namespace blink | 883 } // namespace blink |
| OLD | NEW |