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

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

Issue 240193003: Move Infobars core files to the Infobars component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix components/OWNERS Created 6 years, 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 const char kDisableExtensionsResourceWhitelist[] = 295 const char kDisableExtensionsResourceWhitelist[] =
296 "disable-extensions-resource-whitelist"; 296 "disable-extensions-resource-whitelist";
297 297
298 // Disables embedding of Flash fullscreen widgets within the browser window. 298 // Disables embedding of Flash fullscreen widgets within the browser window.
299 // This restores the old code paths where Flash fullscreen would display in its 299 // This restores the old code paths where Flash fullscreen would display in its
300 // own separate, always-on-top window. In addition, this disables the new logic 300 // own separate, always-on-top window. In addition, this disables the new logic
301 // which would prevent fullscreening the browser window during screen-capture of 301 // which would prevent fullscreening the browser window during screen-capture of
302 // a tab. http://crbug.com/256870 and http://crbug.com/290403 302 // a tab. http://crbug.com/256870 and http://crbug.com/290403
303 const char kDisableFullscreenWithinTab[] = "disable-fullscreen-within-tab"; 303 const char kDisableFullscreenWithinTab[] = "disable-fullscreen-within-tab";
304 304
305 // Prevent infobars from appearing.
306 const char kDisableInfoBars[] = "disable-infobars";
Peter Kasting 2014/04/16 20:18:01 How do you know removing this is safe?
droger 2014/04/17 08:09:53 Why wouldn't it be safe? Note that this was not co
Peter Kasting 2014/04/17 20:24:00 Ah. That's fine then. I thought you were removin
307
308 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging 305 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging
309 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file 306 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file
310 // bugs if something isn't working properly in the presence of IPv6. This flag 307 // bugs if something isn't working properly in the presence of IPv6. This flag
311 // can be overidden by the "enable-ipv6" flag. 308 // can be overidden by the "enable-ipv6" flag.
312 const char kDisableIPv6[] = "disable-ipv6"; 309 const char kDisableIPv6[] = "disable-ipv6";
313 310
314 // Disable the behavior that the second click on a launcher item (the click when 311 // Disable the behavior that the second click on a launcher item (the click when
315 // the item is already active) minimizes the item. 312 // the item is already active) minimizes the item.
316 const char kDisableMinimizeOnSecondLauncherItemClick[] = 313 const char kDisableMinimizeOnSecondLauncherItemClick[] =
317 "disable-minimize-on-second-launcher-item-click"; 314 "disable-minimize-on-second-launcher-item-click";
(...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after
1462 1459
1463 // ----------------------------------------------------------------------------- 1460 // -----------------------------------------------------------------------------
1464 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1461 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1465 // 1462 //
1466 // You were going to just dump your switches here, weren't you? Instead, please 1463 // You were going to just dump your switches here, weren't you? Instead, please
1467 // put them in alphabetical order above, or in order inside the appropriate 1464 // put them in alphabetical order above, or in order inside the appropriate
1468 // ifdef at the bottom. The order should match the header. 1465 // ifdef at the bottom. The order should match the header.
1469 // ----------------------------------------------------------------------------- 1466 // -----------------------------------------------------------------------------
1470 1467
1471 } // namespace switches 1468 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698