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

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

Issue 1672973002: ScrollableArea::pixelsPerLine should return viewport pixels in use-zoom-for-dsf mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 6d0646960bec73e6958cbf9eca55637de560957a..61c6b7bacc9d46010bb6d71b4312749c51475583 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.h
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.h
@@ -94,7 +94,7 @@ public:
void invalidateRect(const IntRect&) override;
void scheduleAnimation(Widget*) override;
IntRect viewportToScreen(const IntRect&) const override;
- FloatRect windowToViewport(const FloatRect&) const override;
+ float windowToViewportScalar(const float) const override;
WebScreenInfo screenInfo() const override;
void contentsSizeChanged(LocalFrame*, const IntSize&) const override;
void pageScaleFactorChanged() const override;

Powered by Google App Engine
This is Rietveld 408576698