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

Unified Diff: content/common/content_constants.h

Issue 7831028: Compute pageScaleFactor on page so that fixed layout page fits width of window. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 4 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: content/common/content_constants.h
diff --git a/content/common/content_constants.h b/content/common/content_constants.h
index b34f4bf9503468a42e890e40408108420a820b25..608b9395480fc2ac79ef5927eaab554a4ed6169a 100644
--- a/content/common/content_constants.h
+++ b/content/common/content_constants.h
@@ -30,6 +30,10 @@ extern const size_t kMaxTitleChars;
extern const size_t kMaxURLChars;
extern const size_t kMaxURLDisplayChars;
+// Min and max scaling factors for pinch-zooming on touch platforms.
+extern const float kMinPageScaleFactor;
+extern const float kMaxPageScaleFactor;
+
} // namespace content
#endif // CONTENT_COMMON_CHROME_CONSTANTS_H_

Powered by Google App Engine
This is Rietveld 408576698