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

Unified Diff: third_party/WebKit/Source/platform/HostWindow.h

Issue 2290233007: Move convertViewportToWindow and convertWindowToViewport from (Closed)
Patch Set: add client to WebSharedWorkerImpl 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/platform/HostWindow.h
diff --git a/third_party/WebKit/Source/platform/HostWindow.h b/third_party/WebKit/Source/platform/HostWindow.h
index 45f683cc72e518e6cfde4ca90ccdcb056408db47..828832a280839ae6ed12eea93127d0aeaeac8a7f 100644
--- a/third_party/WebKit/Source/platform/HostWindow.h
+++ b/third_party/WebKit/Source/platform/HostWindow.h
@@ -50,7 +50,7 @@ public:
virtual IntRect viewportToScreen(const IntRect&, const Widget*) const = 0;
// Converts the scalar value from the window coordinates to the viewport scale.
- virtual float windowToViewportScalar(const float) const = 0;
+ virtual float windowToViewportScalar(const Widget&, const float) const = 0;
virtual void scheduleAnimation(Widget*) = 0;
};
« no previous file with comments | « third_party/WebKit/Source/core/page/SpatialNavigation.cpp ('k') | third_party/WebKit/Source/platform/scroll/ScrollableArea.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698