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

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

Issue 48113021: Expose WebGL extension WEBGL_debug_renderer_info to Google domains (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use WebPermissionClient hook instead Created 7 years, 1 month 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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 // disable translate with the preference. 488 // disable translate with the preference.
489 const char kDisableTranslate[] = "disable-translate"; 489 const char kDisableTranslate[] = "disable-translate";
490 490
491 // Disables TLS Channel ID extension. 491 // Disables TLS Channel ID extension.
492 const char kDisableTLSChannelID[] = "disable-tls-channel-id"; 492 const char kDisableTLSChannelID[] = "disable-tls-channel-id";
493 493
494 // Disables some security measures when accessing user media devices like 494 // Disables some security measures when accessing user media devices like
495 // webcams and microphones, especially on non-HTTPS pages. 495 // webcams and microphones, especially on non-HTTPS pages.
496 const char kDisableUserMediaSecurity[] = "disable-user-media-security"; 496 const char kDisableUserMediaSecurity[] = "disable-user-media-security";
497 497
498 // Do not expose WebGL extension WEBGL_debug_renderer_info to unprivileged code
499 // in the browser.
500 const char kDisableWebGLDebugRendererInfo[] =
501 "disable-webgl-debug-renderer-info";
502
498 // Disables the backend service for web resources. 503 // Disables the backend service for web resources.
499 const char kDisableWebResources[] = "disable-web-resources"; 504 const char kDisableWebResources[] = "disable-web-resources";
500 505
501 // Some tests seem to require the application to close when the last 506 // Some tests seem to require the application to close when the last
502 // browser window is closed. Thus, we need a switch to force this behavior 507 // browser window is closed. Thus, we need a switch to force this behavior
503 // for ChromeOS Aura, disable "zero window mode". 508 // for ChromeOS Aura, disable "zero window mode".
504 // TODO(pkotwicz): Investigate if this bug can be removed. 509 // TODO(pkotwicz): Investigate if this bug can be removed.
505 // (http://crbug.com/119175) 510 // (http://crbug.com/119175)
506 const char kDisableZeroBrowsersOpenForTests[] = 511 const char kDisableZeroBrowsersOpenForTests[] =
507 "disable-zero-browsers-open-for-tests"; 512 "disable-zero-browsers-open-for-tests";
(...skipping 1154 matching lines...) Expand 10 before | Expand all | Expand 10 after
1662 1667
1663 // ----------------------------------------------------------------------------- 1668 // -----------------------------------------------------------------------------
1664 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1669 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1665 // 1670 //
1666 // You were going to just dump your switches here, weren't you? Instead, please 1671 // You were going to just dump your switches here, weren't you? Instead, please
1667 // put them in alphabetical order above, or in order inside the appropriate 1672 // put them in alphabetical order above, or in order inside the appropriate
1668 // ifdef at the bottom. The order should match the header. 1673 // ifdef at the bottom. The order should match the header.
1669 // ----------------------------------------------------------------------------- 1674 // -----------------------------------------------------------------------------
1670 1675
1671 } // namespace switches 1676 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698