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&); |