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

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: sync. Created 4 years, 4 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 70544e47a32a8347ee41e3b35dea791debc24367..37eb087f5e45d9755c887162b7afdd8165953dd0 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