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

Side by Side Diff: third_party/WebKit/Source/web/WebViewFrameWidget.cpp

Issue 1844013002: Fix main thread top controls scrolling to mirror CC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@propertyTreesBoundsDelta
Patch Set: Build fix after rebase Created 4 years, 7 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be found 2 // Use of this source code is governed by a BSD-style license that can be found
3 // in the LICENSE file. 3 // in the LICENSE file.
4 4
5 #include "web/WebViewFrameWidget.h" 5 #include "web/WebViewFrameWidget.h"
6 6
7 #include "web/WebLocalFrameImpl.h" 7 #include "web/WebLocalFrameImpl.h"
8 #include "web/WebViewImpl.h" 8 #include "web/WebViewImpl.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 WebColor WebViewFrameWidget::backgroundColor() const 223 WebColor WebViewFrameWidget::backgroundColor() const
224 { 224 {
225 return m_webView->backgroundColor(); 225 return m_webView->backgroundColor();
226 } 226 }
227 227
228 WebPagePopup* WebViewFrameWidget::pagePopup() const 228 WebPagePopup* WebViewFrameWidget::pagePopup() const
229 { 229 {
230 return m_webView->pagePopup(); 230 return m_webView->pagePopup();
231 } 231 }
232 232
233 void WebViewFrameWidget::setTopControlsHeight(float height, bool topControlsShri nkLayoutSize)
234 {
235 return m_webView->setTopControlsHeight(height, topControlsShrinkLayoutSize);
236 }
237
238 void WebViewFrameWidget::updateTopControlsState(WebTopControlsState constraints, WebTopControlsState current, bool animate) 233 void WebViewFrameWidget::updateTopControlsState(WebTopControlsState constraints, WebTopControlsState current, bool animate)
239 { 234 {
240 return m_webView->updateTopControlsState(constraints, current, animate); 235 return m_webView->updateTopControlsState(constraints, current, animate);
241 } 236 }
242 237
243 void WebViewFrameWidget::setVisibilityState(WebPageVisibilityState visibilitySta te, bool isInitialState) 238 void WebViewFrameWidget::setVisibilityState(WebPageVisibilityState visibilitySta te, bool isInitialState)
244 { 239 {
245 return m_webView->setVisibilityState(visibilityState, isInitialState); 240 return m_webView->setVisibilityState(visibilityState, isInitialState);
246 } 241 }
247 242
(...skipping 11 matching lines...) Expand all
259 { 254 {
260 m_webView->setBaseBackgroundColor(color); 255 m_webView->setBaseBackgroundColor(color);
261 } 256 }
262 257
263 void WebViewFrameWidget::scheduleAnimation() 258 void WebViewFrameWidget::scheduleAnimation()
264 { 259 {
265 m_webView->scheduleAnimation(); 260 m_webView->scheduleAnimation();
266 } 261 }
267 262
268 } // namespace blink 263 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewFrameWidget.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698