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

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

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