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

Unified 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: Fixed anchoring to check width too Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebViewFrameWidget.cpp
diff --git a/third_party/WebKit/Source/web/WebViewFrameWidget.cpp b/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
index 6e2e03c71410f420ac297204b8949624d969199d..b67743405b7bb8cfb4671884f224aa520fb72868 100644
--- a/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
+++ b/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
@@ -41,6 +41,11 @@ WebSize WebViewFrameWidget::size()
return m_webView->size();
}
+void WebViewFrameWidget::resize(const WebSize& size, float topControlsHeight, bool topControlsShrinkLayoutSize)
+{
+ return m_webView->resize(size, topControlsHeight, topControlsShrinkLayoutSize);
+}
+
void WebViewFrameWidget::resize(const WebSize& size)
{
return m_webView->resize(size);
@@ -240,11 +245,6 @@ WebPagePopup* WebViewFrameWidget::pagePopup() const
return m_webView->pagePopup();
}
-void WebViewFrameWidget::setTopControlsHeight(float height, bool topControlsShrinkLayoutSize)
-{
- return m_webView->setTopControlsHeight(height, topControlsShrinkLayoutSize);
-}
-
void WebViewFrameWidget::updateTopControlsState(WebTopControlsState constraints, WebTopControlsState current, bool animate)
{
return m_webView->updateTopControlsState(constraints, current, animate);

Powered by Google App Engine
This is Rietveld 408576698