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

Side by Side Diff: content/public/common/content_switches.cc

Issue 1036823003: Fix to respect --explicitly-allowed-ports command line option-Chromium Side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_thread_impl.cc » ('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) 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 "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
10 // have an effect. 0 disables MSAA. 10 // have an effect. 0 disables MSAA.
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 491
492 // Enables WebGL extensions not yet approved by the community. 492 // Enables WebGL extensions not yet approved by the community.
493 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; 493 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions";
494 494
495 // Enables WebGL rendering into a scanout buffer for overlay support. 495 // Enables WebGL rendering into a scanout buffer for overlay support.
496 const char kEnableWebGLImageChromium[] = "enable-webgl-image-chromium"; 496 const char kEnableWebGLImageChromium[] = "enable-webgl-image-chromium";
497 497
498 // Enable rasterizer that writes directly to GPU memory associated with tiles. 498 // Enable rasterizer that writes directly to GPU memory associated with tiles.
499 const char kEnableZeroCopy[] = "enable-zero-copy"; 499 const char kEnableZeroCopy[] = "enable-zero-copy";
500 500
501 // Explicitly allows additional ports using a comma-separated list of port
502 // numbers.
503 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports";
504
501 // Load NPAPI plugins from the specified directory. 505 // Load NPAPI plugins from the specified directory.
502 const char kExtraPluginDir[] = "extra-plugin-dir"; 506 const char kExtraPluginDir[] = "extra-plugin-dir";
503 507
504 // This option can be used to force field trials when testing changes locally. 508 // This option can be used to force field trials when testing changes locally.
505 // The argument is a list of name and value pairs, separated by slashes. If a 509 // The argument is a list of name and value pairs, separated by slashes. If a
506 // trial name is prefixed with an asterisk, that trial will start activated. 510 // trial name is prefixed with an asterisk, that trial will start activated.
507 // For example, the following argument defines two trials, with the second one 511 // For example, the following argument defines two trials, with the second one
508 // activated: "GoogleNow/Enable/*MaterialDesignNTP/Default/" 512 // activated: "GoogleNow/Enable/*MaterialDesignNTP/Default/"
509 // This option is also used by the browser to send the list of trials to 513 // This option is also used by the browser to send the list of trials to
510 // renderers, using the same format. See 514 // renderers, using the same format. See
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 // clashes between different instances of Chrome. 978 // clashes between different instances of Chrome.
975 const char kFontCacheSharedMemSuffix[] = "font-cache-shared-mem-suffix"; 979 const char kFontCacheSharedMemSuffix[] = "font-cache-shared-mem-suffix";
976 #endif 980 #endif
977 981
978 // Enables the use of NPAPI plugins. 982 // Enables the use of NPAPI plugins.
979 const char kEnableNpapi[] = "enable-npapi"; 983 const char kEnableNpapi[] = "enable-npapi";
980 984
981 // Don't dump stuff here, follow the same order as the header. 985 // Don't dump stuff here, follow the same order as the header.
982 986
983 } // namespace switches 987 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698