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

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

Issue 14813025: Refactor viewport initialization logic out of WebViewImpl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix webkit_unit_tests Created 7 years, 7 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/page/PageScaleConstraintsSet.cpp ('k') | Source/core/page/Settings.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Settings.h
diff --git a/Source/core/page/Settings.h b/Source/core/page/Settings.h
index 3653fa03cfb238aaa7c62e7f353007441ded19e6..2207e78c26f2df728659fcc7a6860ca838999e69 100644
--- a/Source/core/page/Settings.h
+++ b/Source/core/page/Settings.h
@@ -97,6 +97,12 @@ public:
void setTextAutosizingWindowSizeOverride(const IntSize&);
const IntSize& textAutosizingWindowSizeOverride() const { return m_textAutosizingWindowSizeOverride; }
+ void setUseWideViewport(bool);
+ bool useWideViewport() const { return m_useWideViewport; }
+
+ void setLoadWithOverviewMode(bool);
+ bool loadWithOverviewMode() const { return m_loadWithOverviewMode; }
+
// Only set by Layout Tests.
void setMediaTypeOverride(const String&);
const String& mediaTypeOverride() const { return m_mediaTypeOverride; }
@@ -172,6 +178,8 @@ private:
float m_textAutosizingFontScaleFactor;
IntSize m_textAutosizingWindowSizeOverride;
bool m_textAutosizingEnabled : 1;
+ bool m_useWideViewport : 1;
mnaganov (inactive) 2013/05/24 09:26:38 You should also add them into Settings.in to get t
mnaganov (inactive) 2013/05/24 09:29:26 Ah, sorry. In your case, you should list them in t
+ bool m_loadWithOverviewMode : 1;
SETTINGS_MEMBER_VARIABLES
« no previous file with comments | « Source/core/page/PageScaleConstraintsSet.cpp ('k') | Source/core/page/Settings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698