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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 7670041: Add --use-more-webui runtime flag to toggle WebUI replacements for native dialogs. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Merge with trunk and fix hung renderer dialog close. Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 // testing-related messages on IPC channel with the given ID. 997 // testing-related messages on IPC channel with the given ID.
998 const char kTestingChannelID[] = "testing-channel"; 998 const char kTestingChannelID[] = "testing-channel";
999 999
1000 // Experimental. Shows a dialog asking the user to try chrome. This flag 1000 // Experimental. Shows a dialog asking the user to try chrome. This flag
1001 // is to be used only by the upgrade process. 1001 // is to be used only by the upgrade process.
1002 const char kTryChromeAgain[] = "try-chrome-again"; 1002 const char kTryChromeAgain[] = "try-chrome-again";
1003 1003
1004 // Runs un-installation steps that were done by chrome first-run. 1004 // Runs un-installation steps that were done by chrome first-run.
1005 const char kUninstall[] = "uninstall"; 1005 const char kUninstall[] = "uninstall";
1006 1006
1007 // Use WebUI versions of dialogs when available (rather than platform native
1008 // implementations).
1009 const char kUseMoreWebUI[] = "use-more-webui";
1010
1007 // Use a pure Views implementation when available (rather rather than platform 1011 // Use a pure Views implementation when available (rather rather than platform
1008 // native implementation such as GTK). 1012 // native implementation such as GTK).
1009 const char kUsePureViews[] = "use-pure-views"; 1013 const char kUsePureViews[] = "use-pure-views";
1010 1014
1011 // Use Spdy for the transport protocol instead of HTTP. 1015 // Use Spdy for the transport protocol instead of HTTP.
1012 // This is a temporary testing flag. 1016 // This is a temporary testing flag.
1013 const char kUseSpdy[] = "use-spdy"; 1017 const char kUseSpdy[] = "use-spdy";
1014 1018
1015 // Ignore certificate related errors. 1019 // Ignore certificate related errors.
1016 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors"; 1020 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors";
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
1226 1230
1227 // ----------------------------------------------------------------------------- 1231 // -----------------------------------------------------------------------------
1228 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1232 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1229 // 1233 //
1230 // You were going to just dump your switches here, weren't you? Instead, 1234 // You were going to just dump your switches here, weren't you? Instead,
1231 // please put them in alphabetical order above, or in order inside the 1235 // please put them in alphabetical order above, or in order inside the
1232 // appropriate ifdef at the bottom. The order should match the header. 1236 // appropriate ifdef at the bottom. The order should match the header.
1233 // ----------------------------------------------------------------------------- 1237 // -----------------------------------------------------------------------------
1234 1238
1235 } // namespace switches 1239 } // namespace switches
OLDNEW
« chrome/browser/ui/webui/hung_renderer_dialog.cc ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698