| 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 "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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 | 106 |
| 107 WebString WebRemoteFrameImpl::AssignedName() const { | 107 WebString WebRemoteFrameImpl::AssignedName() const { |
| 108 NOTREACHED(); | 108 NOTREACHED(); |
| 109 return WebString(); | 109 return WebString(); |
| 110 } | 110 } |
| 111 | 111 |
| 112 void WebRemoteFrameImpl::SetName(const WebString&) { | 112 void WebRemoteFrameImpl::SetName(const WebString&) { |
| 113 NOTREACHED(); | 113 NOTREACHED(); |
| 114 } | 114 } |
| 115 | 115 |
| 116 WebSize WebRemoteFrameImpl::ContentsSize() const { | |
| 117 NOTREACHED(); | |
| 118 return WebSize(); | |
| 119 } | |
| 120 | |
| 121 bool WebRemoteFrameImpl::HasVisibleContent() const { | |
| 122 NOTREACHED(); | |
| 123 return false; | |
| 124 } | |
| 125 | |
| 126 WebRect WebRemoteFrameImpl::VisibleContentRect() const { | 116 WebRect WebRemoteFrameImpl::VisibleContentRect() const { |
| 127 NOTREACHED(); | 117 NOTREACHED(); |
| 128 return WebRect(); | 118 return WebRect(); |
| 129 } | 119 } |
| 130 | 120 |
| 131 WebView* WebRemoteFrameImpl::View() const { | 121 WebView* WebRemoteFrameImpl::View() const { |
| 132 if (!GetFrame()) { | 122 if (!GetFrame()) { |
| 133 return nullptr; | 123 return nullptr; |
| 134 } | 124 } |
| 135 DCHECK(GetFrame()->GetPage()); | 125 DCHECK(GetFrame()->GetPage()); |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, | 371 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, |
| 382 WebRemoteFrameClient* client) | 372 WebRemoteFrameClient* client) |
| 383 : WebRemoteFrameBase(scope), | 373 : WebRemoteFrameBase(scope), |
| 384 frame_client_(RemoteFrameClientImpl::Create(this)), | 374 frame_client_(RemoteFrameClientImpl::Create(this)), |
| 385 client_(client), | 375 client_(client), |
| 386 self_keep_alive_(this) { | 376 self_keep_alive_(this) { |
| 387 DCHECK(client); | 377 DCHECK(client); |
| 388 } | 378 } |
| 389 | 379 |
| 390 } // namespace blink | 380 } // namespace blink |
| OLD | NEW |