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

Unified Diff: Source/core/page/Page.h

Issue 225303014: [Pinch-to-zoom] Moved scale factor into PinchViewport (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed layout test breakage 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 | « Source/core/frame/PinchViewport.cpp ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Page.h
diff --git a/Source/core/page/Page.h b/Source/core/page/Page.h
index f09626010b73984641fc17603d237795fb5fa493..374de333ebc6a048f5bb7d9491d1c6a0f9074927 100644
--- a/Source/core/page/Page.h
+++ b/Source/core/page/Page.h
@@ -115,7 +115,7 @@ public:
// This method returns all ordinary pages.
static HashSet<Page*>& ordinaryPages();
- FrameHost& frameHost() { return *m_frameHost; }
+ FrameHost& frameHost() const { return *m_frameHost; }
void setNeedsRecalcStyleInAllFrames();
void updateAcceleratedCompositingSettings();
@@ -177,7 +177,7 @@ public:
bool defersLoading() const { return m_defersLoading; }
void setPageScaleFactor(float scale, const IntPoint& origin);
- float pageScaleFactor() const { return m_pageScaleFactor; }
+ float pageScaleFactor() const;
float deviceScaleFactor() const { return m_deviceScaleFactor; }
void setDeviceScaleFactor(float);
@@ -275,7 +275,6 @@ private:
bool m_tabKeyCyclesThroughElements;
bool m_defersLoading;
- float m_pageScaleFactor;
float m_deviceScaleFactor;
OwnPtr<StorageNamespace> m_sessionStorage;
« no previous file with comments | « Source/core/frame/PinchViewport.cpp ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698