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

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

Issue 2237433004: Adds DevTools commands for forced viewport override. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adress Dmitry's comments + sync. Created 4 years, 3 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/ChromeClientImpl.h
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.h b/third_party/WebKit/Source/web/ChromeClientImpl.h
index 7c949a168ada410cf93fb614e9599c551890cac9..cbf8f15a823ae8215958a23d0c21b2553d7fce8f 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.h
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.h
@@ -104,9 +104,11 @@ public:
IntRect viewportToScreen(const IntRect&, const Widget*) const override;
float windowToViewportScalar(const float) const override;
WebScreenInfo screenInfo() const override;
+ WTF::Optional<IntRect> visibleContentRectForPainting() const override;
void contentsSizeChanged(LocalFrame*, const IntSize&) const override;
void pageScaleFactorChanged() const override;
float clampPageScaleFactorToLimits(float scale) const override;
+ void mainFrameScrollOffsetChanged() const override;
void layoutUpdated(LocalFrame*) const override;
void showMouseOverURL(const HitTestResult&) override;
void setToolTip(const String& tooltipText, TextDirection) override;

Powered by Google App Engine
This is Rietveld 408576698