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

Unified Diff: ui/base/ui_base_switches.cc

Issue 9669028: ui/base: Move message_box_win.{h,cc} to ui/base/win. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: keep sorted Created 8 years, 9 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 | « ui/base/ui_base_switches.h ('k') | ui/base/win/message_box_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ui_base_switches.cc
diff --git a/ui/base/ui_base_switches.cc b/ui/base/ui_base_switches.cc
index 8f805fed2eda152563004353e9f574f031a5641e..a5210537ab407cfd7ab00e9bbb25f71e530d3625 100644
--- a/ui/base/ui_base_switches.cc
+++ b/ui/base/ui_base_switches.cc
@@ -6,7 +6,7 @@
namespace switches {
-// The language file that we want to try to open. Of the form
+// The language file that we want to try to open. Of the form
// language[-country] where language is the 2 letter code from ISO-639.
const char kLang[] = "lang";
@@ -14,6 +14,10 @@ const char kLang[] = "lang";
// path should point to a locale.pak file.
const char kLocalePak[] = "locale_pak";
+// Disable ui::MessageBox. This is useful when running as part of scripts that
+// do not have a user interface.
+const char kNoMessageBox[] = "no-message-box";
+
// Enables UI changes that make it easier to use with a touchscreen.
const char kTouchOptimizedUI[] = "touch-optimized-ui";
« no previous file with comments | « ui/base/ui_base_switches.h ('k') | ui/base/win/message_box_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698