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

Unified Diff: build/common.gypi

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: Fixed common.gypi to have default value for enable_viewport Created 8 years, 10 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 | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 298ea62ea2891486591df23f369185009057061e..fa746e5c3925bbfebc63109f5d487f466e17d1f1 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -42,6 +42,9 @@
# Disable Virtual keyboard support by default.
'use_virtual_keyboard%': 0,
+ # Disable viewport meta tag by default.
+ 'enable_viewport%': 0,
+
# Default setting for use_skia on mac platform.
# This is typically overridden in use_skia_on_mac.gypi.
'use_skia_on_mac%': 0,
@@ -53,6 +56,7 @@
'use_ash%': '<(use_ash)',
'use_openssl%': '<(use_openssl)',
'use_virtual_keyboard%': '<(use_virtual_keyboard)',
+ 'enable_viewport%': '<(enable_viewport)',
'use_skia_on_mac%': '<(use_skia_on_mac)',
# Compute the architecture that we're building on.
@@ -95,6 +99,7 @@
'use_ash%': '<(use_ash)',
'use_openssl%': '<(use_openssl)',
'use_virtual_keyboard%': '<(use_virtual_keyboard)',
+ 'enable_viewport%': '<(enable_viewport)',
'use_skia_on_mac%': '<(use_skia_on_mac)',
# We used to provide a variable for changing how libraries were built.
@@ -431,6 +436,7 @@
'chromeos%': '<(chromeos)',
'chromeos_gtk%': '<(chromeos_gtk)',
'use_virtual_keyboard%': '<(use_virtual_keyboard)',
+ 'enable_viewport%': '<(enable_viewport)',
'use_skia_on_mac%': '<(use_skia_on_mac)',
'use_xi2_mt%':'<(use_xi2_mt)',
'file_manager_extension%': '<(file_manager_extension)',
@@ -1119,6 +1125,9 @@
['enable_pepper_threading==1', {
'defines': ['ENABLE_PEPPER_THREADING'],
}],
+ ['enable_viewport==1', {
+ 'defines': ['ENABLE_VIEWPORT'],
+ }],
['configuration_policy==1', {
'defines': ['ENABLE_CONFIGURATION_POLICY'],
}],
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698