summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
authorflackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-16 22:09:29 +0000
committerflackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-16 22:09:29 +0000
commit5fdc1f1f719d861693f9c6107202ac9b0287c09b (patch)
tree5a621bbc99fcb2b444f7040e58b214d1bb190275 /build/common.gypi
parentc182124ee6da66fd40ae91c31bc42a6ff56ecece (diff)
downloadchromium_src-5fdc1f1f719d861693f9c6107202ac9b0287c09b.zip
chromium_src-5fdc1f1f719d861693f9c6107202ac9b0287c09b.tar.gz
chromium_src-5fdc1f1f719d861693f9c6107202ac9b0287c09b.tar.bz2
Add --use-more-webui runtime flag to toggle WebUI replacements for native dialogs.
This adds the flag --use-more-webui to allow turning on WebUI replacements for native dialogs. This flag is automatically set when --use-pure-views is specified. Modifies replaced native dialogs to be toggled based on flag value. BookmarkEditor has also been refactored to use static constructors to EditDetails to describe what is being edited to make the code more readable. BUG=None TEST=Tested that webui dialogs can be turned on or left off with --use-more-webui. Review URL: http://codereview.chromium.org/7670041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101581 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi16
1 files changed, 0 insertions, 16 deletions
diff --git a/build/common.gypi b/build/common.gypi
index f5b5bc1..ddcd5fb 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -31,11 +31,6 @@
# Disable touch support by default.
'touchui%': 0,
- # Disable webui dialog replacements for native dialogs by default.
- # TODO(flackr): Change this to a runtime flag triggered by
- # --pure-views so that these dialogs can be easily tested.
- 'webui_dialogs%': 0,
-
# Whether the compositor is enabled on views.
'views_compositor%': 0,
@@ -46,7 +41,6 @@
'chromeos%': '<(chromeos)',
'use_only_pure_views%': '<(use_only_pure_views)',
'touchui%': '<(touchui)',
- 'webui_dialogs%': '<(webui_dialogs)',
'views_compositor%': '<(views_compositor)',
'use_aura%': '<(use_aura)',
@@ -77,11 +71,6 @@
'use_only_pure_views%': 0,
}],
- # Use WebUI dialogs in TouchUI and PureView builds.
- ['touchui==1 or use_only_pure_views==1', {
- 'webui_dialogs%': 1,
- }],
-
# Use the views compositor when using the Aura window manager.
['use_aura==1', {
'views_compositor%': 1,
@@ -92,7 +81,6 @@
# Copy conditionally-set variables out one scope.
'chromeos%': '<(chromeos)',
'touchui%': '<(touchui)',
- 'webui_dialogs%': '<(webui_dialogs)',
'host_arch%': '<(host_arch)',
'toolkit_views%': '<(toolkit_views)',
'use_only_pure_views%': '<(use_only_pure_views)',
@@ -305,7 +293,6 @@
'enable_flapper_hacks%': '<(enable_flapper_hacks)',
'chromeos%': '<(chromeos)',
'touchui%': '<(touchui)',
- 'webui_dialogs%': '<(webui_dialogs)',
'file_manager_extension%': '<(file_manager_extension)',
'webui_task_manager%': '<(webui_task_manager)',
'inside_chromium_build%': '<(inside_chromium_build)',
@@ -668,9 +655,6 @@
['touchui==1', {
'grit_defines': ['-D', 'touchui'],
}],
- ['webui_dialogs==1', {
- 'grit_defines': ['-D', 'webui_dialogs'],
- }],
['file_manager_extension==1', {
'grit_defines': ['-D', 'file_manager_extension'],
}],