| 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/RemoteFrame.h" | 9 #include "core/frame/RemoteFrame.h" |
| 10 #include "core/frame/Settings.h" | 10 #include "core/frame/Settings.h" |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 void WebRemoteFrameImpl::setIsolatedWorldSecurityOrigin(int worldID, const WebSe
curityOrigin&) | 348 void WebRemoteFrameImpl::setIsolatedWorldSecurityOrigin(int worldID, const WebSe
curityOrigin&) |
| 349 { | 349 { |
| 350 ASSERT_NOT_REACHED(); | 350 ASSERT_NOT_REACHED(); |
| 351 } | 351 } |
| 352 | 352 |
| 353 void WebRemoteFrameImpl::setIsolatedWorldContentSecurityPolicy(int worldID, cons
t WebString&) | 353 void WebRemoteFrameImpl::setIsolatedWorldContentSecurityPolicy(int worldID, cons
t WebString&) |
| 354 { | 354 { |
| 355 ASSERT_NOT_REACHED(); | 355 ASSERT_NOT_REACHED(); |
| 356 } | 356 } |
| 357 | 357 |
| 358 void WebRemoteFrameImpl::setIsolatedWorldHumanReadableName(int worldID, const We
bString&) | |
| 359 { | |
| 360 ASSERT_NOT_REACHED(); | |
| 361 } | |
| 362 | |
| 363 void WebRemoteFrameImpl::addMessageToConsole(const WebConsoleMessage&) | 358 void WebRemoteFrameImpl::addMessageToConsole(const WebConsoleMessage&) |
| 364 { | 359 { |
| 365 ASSERT_NOT_REACHED(); | 360 ASSERT_NOT_REACHED(); |
| 366 } | 361 } |
| 367 | 362 |
| 368 void WebRemoteFrameImpl::collectGarbage() | 363 void WebRemoteFrameImpl::collectGarbage() |
| 369 { | 364 { |
| 370 ASSERT_NOT_REACHED(); | 365 ASSERT_NOT_REACHED(); |
| 371 } | 366 } |
| 372 | 367 |
| (...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 773 { | 768 { |
| 774 ASSERT_NOT_REACHED(); | 769 ASSERT_NOT_REACHED(); |
| 775 return 0; | 770 return 0; |
| 776 } | 771 } |
| 777 | 772 |
| 778 void WebRemoteFrameImpl::setTickmarks(const WebVector<WebRect>&) | 773 void WebRemoteFrameImpl::setTickmarks(const WebVector<WebRect>&) |
| 779 { | 774 { |
| 780 ASSERT_NOT_REACHED(); | 775 ASSERT_NOT_REACHED(); |
| 781 } | 776 } |
| 782 | 777 |
| 783 void WebRemoteFrameImpl::sendOrientationChangeEvent() | |
| 784 { | |
| 785 ASSERT_NOT_REACHED(); | |
| 786 } | |
| 787 | |
| 788 void WebRemoteFrameImpl::dispatchMessageEventWithOriginCheck( | 778 void WebRemoteFrameImpl::dispatchMessageEventWithOriginCheck( |
| 789 const WebSecurityOrigin& intendedTargetOrigin, | 779 const WebSecurityOrigin& intendedTargetOrigin, |
| 790 const WebDOMEvent&) | 780 const WebDOMEvent&) |
| 791 { | 781 { |
| 792 ASSERT_NOT_REACHED(); | 782 ASSERT_NOT_REACHED(); |
| 793 } | 783 } |
| 794 | 784 |
| 795 WebString WebRemoteFrameImpl::contentAsText(size_t maxChars) const | 785 WebString WebRemoteFrameImpl::contentAsText(size_t maxChars) const |
| 796 { | 786 { |
| 797 ASSERT_NOT_REACHED(); | 787 ASSERT_NOT_REACHED(); |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 873 } | 863 } |
| 874 | 864 |
| 875 WebRemoteFrameImpl* WebRemoteFrameImpl::fromFrame(RemoteFrame& frame) | 865 WebRemoteFrameImpl* WebRemoteFrameImpl::fromFrame(RemoteFrame& frame) |
| 876 { | 866 { |
| 877 if (!frame.client()) | 867 if (!frame.client()) |
| 878 return 0; | 868 return 0; |
| 879 return static_cast<RemoteFrameClient*>(frame.client())->webFrame(); | 869 return static_cast<RemoteFrameClient*>(frame.client())->webFrame(); |
| 880 } | 870 } |
| 881 | 871 |
| 882 } // namespace blink | 872 } // namespace blink |
| OLD | NEW |