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

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

Issue 442010: Plumb through site-specific quirks setting with a command line switch. (Closed)
Patch Set: Added flag to test_shell. Created 11 years 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 const char kDisablePopupBlocking[] = "disable-popup-blocking"; 122 const char kDisablePopupBlocking[] = "disable-popup-blocking";
123 123
124 // Normally when the user attempts to navigate to a page that was the result of 124 // Normally when the user attempts to navigate to a page that was the result of
125 // a post we prompt to make sure they want to. This switch may be used to 125 // a post we prompt to make sure they want to. This switch may be used to
126 // disable that check. This switch is used during automated testing. 126 // disable that check. This switch is used during automated testing.
127 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; 127 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost";
128 128
129 // Enable shared workers. Functionality not yet complete. 129 // Enable shared workers. Functionality not yet complete.
130 const char kDisableSharedWorkers[] = "disable-shared-workers"; 130 const char kDisableSharedWorkers[] = "disable-shared-workers";
131 131
132 // Disable site-specific tailoring to compatibility issues in WebKit.
133 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks";
134
132 // Disable syncing bookmarks to a Google Account. 135 // Disable syncing bookmarks to a Google Account.
133 const char kDisableSync[] = "disable-sync"; 136 const char kDisableSync[] = "disable-sync";
134 137
135 // Enables the backend service for web resources, used in the new tab page for 138 // Enables the backend service for web resources, used in the new tab page for
136 // loading tips and recommendations from a JSON feed. 139 // loading tips and recommendations from a JSON feed.
137 const char kDisableWebResources[] = "disable-web-resources"; 140 const char kDisableWebResources[] = "disable-web-resources";
138 141
139 // Don't enforce the same-origin policy. (Used by people testing their sites.) 142 // Don't enforce the same-origin policy. (Used by people testing their sites.)
140 const char kDisableWebSecurity[] = "disable-web-security"; 143 const char kDisableWebSecurity[] = "disable-web-security";
141 144
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 702
700 // ----------------------------------------------------------------------------- 703 // -----------------------------------------------------------------------------
701 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 704 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
702 // 705 //
703 // You were going to just dump your switches here, weren't you? Instead, 706 // You were going to just dump your switches here, weren't you? Instead,
704 // please put them in alphabetical order above, or in order inside the 707 // please put them in alphabetical order above, or in order inside the
705 // appropriate ifdef at the bottom. The order should match the header. 708 // appropriate ifdef at the bottom. The order should match the header.
706 // ----------------------------------------------------------------------------- 709 // -----------------------------------------------------------------------------
707 710
708 } // namespace switches 711 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698