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

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

Issue 2936423003: Move Get/SetScrollOffset methods from WebFrame to WebLocalFrame. (Closed)
Patch Set: Use WebViewHelper::LocalMainFrame() where possible. 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::GetScrollOffset() const {
94 NOTREACHED();
95 return WebSize();
96 }
97
98 void WebRemoteFrameImpl::SetScrollOffset(const WebSize&) {
99 NOTREACHED();
100 }
101
102 WebSize WebRemoteFrameImpl::ContentsSize() const { 93 WebSize WebRemoteFrameImpl::ContentsSize() const {
103 NOTREACHED(); 94 NOTREACHED();
104 return WebSize(); 95 return WebSize();
105 } 96 }
106 97
107 bool WebRemoteFrameImpl::HasVisibleContent() const { 98 bool WebRemoteFrameImpl::HasVisibleContent() const {
108 NOTREACHED(); 99 NOTREACHED();
109 return false; 100 return false;
110 } 101 }
111 102
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 } 361 }
371 362
372 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, 363 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope,
373 WebRemoteFrameClient* client) 364 WebRemoteFrameClient* client)
374 : WebRemoteFrameBase(scope), 365 : WebRemoteFrameBase(scope),
375 frame_client_(RemoteFrameClientImpl::Create(this)), 366 frame_client_(RemoteFrameClientImpl::Create(this)),
376 client_(client), 367 client_(client),
377 self_keep_alive_(this) {} 368 self_keep_alive_(this) {}
378 369
379 } // namespace blink 370 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698