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

Unified Diff: Source/core/frame/PinchViewport.h

Issue 967213004: Removed FrameView's windowToContents and contentsToWindow methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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: Source/core/frame/PinchViewport.h
diff --git a/Source/core/frame/PinchViewport.h b/Source/core/frame/PinchViewport.h
index 4cb72bbf167a10429e63b7352a5e3e2235c9286d..dca8633faebca0d6025b6410377a345c34387860 100644
--- a/Source/core/frame/PinchViewport.h
+++ b/Source/core/frame/PinchViewport.h
@@ -153,6 +153,16 @@ public:
// Adjust the viewport's offset so that it remains bounded by the outer
// viepwort.
void clampToBoundaries();
+
+ FloatRect viewportToRootFrame(const FloatRect&) const;
+ IntRect viewportToRootFrame(const IntRect&) const;
+ FloatRect rootFrameToViewport(const FloatRect&) const;
+ IntRect rootFrameToViewport(const IntRect&) const;
+
+ FloatPoint viewportToRootFrame(const FloatPoint&) const;
+ FloatPoint rootFrameToViewport(const FloatPoint&) const;
+ IntPoint viewportToRootFrame(const IntPoint&) const;
+ IntPoint rootFrameToViewport(const IntPoint&) const;
private:
explicit PinchViewport(FrameHost&);

Powered by Google App Engine
This is Rietveld 408576698