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

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

Issue 225303014: [Pinch-to-zoom] Moved scale factor into PinchViewport (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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
« no previous file with comments | « no previous file | Source/core/frame/FrameHost.cpp » ('j') | Source/web/WebInputEventConversion.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameHost.h
diff --git a/Source/core/frame/FrameHost.h b/Source/core/frame/FrameHost.h
index 99fb15eee657143e6f9174bbbcda9e20a15193e9..ee1ad1466ce8e7677b2d6dd06091414d88dbbd0f 100644
--- a/Source/core/frame/FrameHost.h
+++ b/Source/core/frame/FrameHost.h
@@ -74,14 +74,14 @@ public:
// This value does not account for Page zoom, use LocalFrame::devicePixelRatio instead.
float deviceScaleFactor() const;
- PinchViewport& pinchViewport();
+ PinchViewport& pinchViewport() const;
private:
explicit FrameHost(Page&);
Page& m_page;
const OwnPtr<PageConsole> m_console;
- PinchViewport m_pinchViewport;
+ const OwnPtr<PinchViewport> m_pinchViewport;
};
}
« no previous file with comments | « no previous file | Source/core/frame/FrameHost.cpp » ('j') | Source/web/WebInputEventConversion.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698