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

Unified Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.h

Issue 1844013002: Fix main thread top controls scrolling to mirror CC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@propertyTreesBoundsDelta
Patch Set: Override top controls resize() in classes that override resize() 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/WebFrameWidgetImpl.h
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.h b/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
index 6ee4035c2741594b01c9e5878ee854fdd3a7ffa2..c4d78d89ec40611fecadfadb5fd5992e71113c3d 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
@@ -72,6 +72,7 @@ public:
void close() override;
WebSize size() override;
void resize(const WebSize&) override;
+ void resize(const WebSize&, float topControlsHeight, bool topControlsShrinkLayoutSize) override;
void resizeVisualViewport(const WebSize&) override;
void didEnterFullScreen() override;
void didExitFullScreen() override;

Powered by Google App Engine
This is Rietveld 408576698