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

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

Issue 1603253003: Add dedicated windowToViewport method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 0310d98b2c9764001db8e9d34f2b6ed24413c962..4fc38a882516c93ad1398e876578938a2697e8ff 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.h
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.h
@@ -94,6 +94,7 @@ public:
void invalidateRect(const IntRect&) override;
void scheduleAnimation(Widget*) override;
IntRect viewportToScreen(const IntRect&) const override;
+ FloatRect windowToViewport(const FloatRect&) 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