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

Side by Side Diff: third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.cpp

Issue 2953193002: Move ContentsSize and HasVisibleContent methods from WebFrame to WebLocalFrame. (Closed)
Patch Set: . 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 "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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 WebString WebRemoteFrameImpl::AssignedName() const { 84 WebString WebRemoteFrameImpl::AssignedName() const {
85 NOTREACHED(); 85 NOTREACHED();
86 return WebString(); 86 return WebString();
87 } 87 }
88 88
89 void WebRemoteFrameImpl::SetName(const WebString&) { 89 void WebRemoteFrameImpl::SetName(const WebString&) {
90 NOTREACHED(); 90 NOTREACHED();
91 } 91 }
92 92
93 WebSize WebRemoteFrameImpl::ContentsSize() const {
94 NOTREACHED();
95 return WebSize();
96 }
97
98 bool WebRemoteFrameImpl::HasVisibleContent() const {
99 NOTREACHED();
100 return false;
101 }
102
103 WebRect WebRemoteFrameImpl::VisibleContentRect() const { 93 WebRect WebRemoteFrameImpl::VisibleContentRect() const {
104 NOTREACHED(); 94 NOTREACHED();
105 return WebRect(); 95 return WebRect();
106 } 96 }
107 97
108 WebView* WebRemoteFrameImpl::View() const { 98 WebView* WebRemoteFrameImpl::View() const {
109 if (!GetFrame()) { 99 if (!GetFrame()) {
110 return nullptr; 100 return nullptr;
111 } 101 }
112 DCHECK(GetFrame()->GetPage()); 102 DCHECK(GetFrame()->GetPage());
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 } 345 }
356 346
357 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, 347 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope,
358 WebRemoteFrameClient* client) 348 WebRemoteFrameClient* client)
359 : WebRemoteFrameBase(scope), 349 : WebRemoteFrameBase(scope),
360 frame_client_(RemoteFrameClientImpl::Create(this)), 350 frame_client_(RemoteFrameClientImpl::Create(this)),
361 client_(client), 351 client_(client),
362 self_keep_alive_(this) {} 352 self_keep_alive_(this) {}
363 353
364 } // namespace blink 354 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698