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

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

Issue 26906004: Revert 227977 "Enable GPU control lists in tests." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 2 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 "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 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 625
626 // Runs plugins inside the renderer process 626 // Runs plugins inside the renderer process
627 const char kInProcessPlugins[] = "in-process-plugins"; 627 const char kInProcessPlugins[] = "in-process-plugins";
628 628
629 // Specifies the flags passed to JS engine 629 // Specifies the flags passed to JS engine
630 const char kJavaScriptFlags[] = "js-flags"; 630 const char kJavaScriptFlags[] = "js-flags";
631 631
632 // Load an NPAPI plugin from the specified path. 632 // Load an NPAPI plugin from the specified path.
633 const char kLoadPlugin[] = "load-plugin"; 633 const char kLoadPlugin[] = "load-plugin";
634 634
635 // Logs GPU control list decisions when enforcing blacklist rules.
636 const char kLogGpuControlListDecisions[] = "log-gpu-control-list-decisions";
637
638 // Sets the minimum log level. Valid values are from 0 to 3: 635 // Sets the minimum log level. Valid values are from 0 to 3:
639 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. 636 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3.
640 const char kLoggingLevel[] = "log-level"; 637 const char kLoggingLevel[] = "log-level";
641 638
642 // Enables displaying net log events on the command line, or writing the events 639 // Enables displaying net log events on the command line, or writing the events
643 // to a separate file if a file name is given. 640 // to a separate file if a file name is given.
644 const char kLogNetLog[] = "log-net-log"; 641 const char kLogNetLog[] = "log-net-log";
645 642
646 // Make plugin processes log their sent and received messages to VLOG(1). 643 // Make plugin processes log their sent and received messages to VLOG(1).
647 const char kLogPluginMessages[] = "log-plugin-messages"; 644 const char kLogPluginMessages[] = "log-plugin-messages";
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 // iframe support is available. Cross-site network requests do attach the 774 // iframe support is available. Cross-site network requests do attach the
778 // normal set of cookies, but a renderer process is only allowed to view or 775 // normal set of cookies, but a renderer process is only allowed to view or
779 // modify cookies for its own site (via JavaScript). 776 // modify cookies for its own site (via JavaScript).
780 // TODO(irobert): Implement the cross-site document blocking in 777 // TODO(irobert): Implement the cross-site document blocking in
781 // http://crbug.com/159215. 778 // http://crbug.com/159215.
782 const char kSitePerProcess[] = "site-per-process"; 779 const char kSitePerProcess[] = "site-per-process";
783 780
784 // Skip gpu info collection, blacklist loading, and blacklist auto-update 781 // Skip gpu info collection, blacklist loading, and blacklist auto-update
785 // scheduling at browser startup time. 782 // scheduling at browser startup time.
786 // Therefore, all GPU features are available, and about:gpu page shows empty 783 // Therefore, all GPU features are available, and about:gpu page shows empty
787 // content. The switch is intended only for layout tests. 784 // content. The switch is intended only for tests.
788 // TODO(gab): Get rid of this switch entirely.
789 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; 785 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading";
790 786
791 // Specifies the request key for the continuous speech recognition webservice. 787 // Specifies the request key for the continuous speech recognition webservice.
792 const char kSpeechRecognitionWebserviceKey[] = "speech-service-key"; 788 const char kSpeechRecognitionWebserviceKey[] = "speech-service-key";
793 789
794 // Specifies if the |StatsCollectionController| needs to be bound in the 790 // Specifies if the |StatsCollectionController| needs to be bound in the
795 // renderer. This binding happens on per-frame basis and hence can potentially 791 // renderer. This binding happens on per-frame basis and hence can potentially
796 // be a performance bottleneck. One should only enable it when running a test 792 // be a performance bottleneck. One should only enable it when running a test
797 // that needs to access the provided statistics. 793 // that needs to access the provided statistics.
798 const char kStatsCollectionController[] = 794 const char kStatsCollectionController[] =
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
986 #endif 982 #endif
987 983
988 #if defined(USE_AURA) 984 #if defined(USE_AURA)
989 // Forces usage of the test compositor. Needed to run ui tests on bots. 985 // Forces usage of the test compositor. Needed to run ui tests on bots.
990 extern const char kTestCompositor[] = "test-compositor"; 986 extern const char kTestCompositor[] = "test-compositor";
991 #endif 987 #endif
992 988
993 // Don't dump stuff here, follow the same order as the header. 989 // Don't dump stuff here, follow the same order as the header.
994 990
995 } // namespace switches 991 } // namespace switches
OLDNEW
« no previous file with comments | « trunk/src/content/public/common/content_switches.h ('k') | trunk/src/content/public/test/browser_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698