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

Unified Diff: third_party/WebKit/Source/web/WebPagePopupImpl.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/WebPagePopupImpl.h
diff --git a/third_party/WebKit/Source/web/WebPagePopupImpl.h b/third_party/WebKit/Source/web/WebPagePopupImpl.h
index 87f88dbfaa6700ade03dc601a70ba2eeae37f2fe..65f035ad460761e06fb564701af1fbe9eda04aeb 100644
--- a/third_party/WebKit/Source/web/WebPagePopupImpl.h
+++ b/third_party/WebKit/Source/web/WebPagePopupImpl.h
@@ -77,6 +77,7 @@ private:
void updateAllLifecyclePhases() override;
void willCloseLayerTreeView() override;
void paint(WebCanvas*, const WebRect&) override;
+ void resize(const WebSize&, float topControlsHeight, bool topControlsShrinkLayoutSize) override;
void resize(const WebSize&) override;
void close() override;
WebInputEventResult handleInputEvent(const WebInputEvent&) override;

Powered by Google App Engine
This is Rietveld 408576698