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

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: address 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 3e5c6c63129c75cface52f10ecdc9f3dbe23a078..5b8b9a54ebc0005eeee9cc36a1274d9eaa1c24e8 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