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

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

Issue 23703017: Enable GPU control lists in tests on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more detailed logging Created 7 years, 3 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 592 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 603
604 // Runs plugins inside the renderer process 604 // Runs plugins inside the renderer process
605 const char kInProcessPlugins[] = "in-process-plugins"; 605 const char kInProcessPlugins[] = "in-process-plugins";
606 606
607 // Specifies the flags passed to JS engine 607 // Specifies the flags passed to JS engine
608 const char kJavaScriptFlags[] = "js-flags"; 608 const char kJavaScriptFlags[] = "js-flags";
609 609
610 // Load an NPAPI plugin from the specified path. 610 // Load an NPAPI plugin from the specified path.
611 const char kLoadPlugin[] = "load-plugin"; 611 const char kLoadPlugin[] = "load-plugin";
612 612
613 // Logs GPU control list decisions when enforcing blacklist rules.
614 const char kLogGpuControlListDecisions[] = "log-gpu-control-list-decisions";
615
613 // Sets the minimum log level. Valid values are from 0 to 3: 616 // Sets the minimum log level. Valid values are from 0 to 3:
614 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. 617 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3.
615 const char kLoggingLevel[] = "log-level"; 618 const char kLoggingLevel[] = "log-level";
616 619
617 // Enables displaying net log events on the command line, or writing the events 620 // Enables displaying net log events on the command line, or writing the events
618 // to a separate file if a file name is given. 621 // to a separate file if a file name is given.
619 const char kLogNetLog[] = "log-net-log"; 622 const char kLogNetLog[] = "log-net-log";
620 623
621 // Make plugin processes log their sent and received messages to VLOG(1). 624 // Make plugin processes log their sent and received messages to VLOG(1).
622 const char kLogPluginMessages[] = "log-plugin-messages"; 625 const char kLogPluginMessages[] = "log-plugin-messages";
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 // iframe support is available. Cross-site network requests do attach the 759 // iframe support is available. Cross-site network requests do attach the
757 // normal set of cookies, but a renderer process is only allowed to view or 760 // normal set of cookies, but a renderer process is only allowed to view or
758 // modify cookies for its own site (via JavaScript). 761 // modify cookies for its own site (via JavaScript).
759 // TODO(irobert): Implement the cross-site document blocking in 762 // TODO(irobert): Implement the cross-site document blocking in
760 // http://crbug.com/159215. 763 // http://crbug.com/159215.
761 const char kSitePerProcess[] = "site-per-process"; 764 const char kSitePerProcess[] = "site-per-process";
762 765
763 // Skip gpu info collection, blacklist loading, and blacklist auto-update 766 // Skip gpu info collection, blacklist loading, and blacklist auto-update
764 // scheduling at browser startup time. 767 // scheduling at browser startup time.
765 // Therefore, all GPU features are available, and about:gpu page shows empty 768 // Therefore, all GPU features are available, and about:gpu page shows empty
766 // content. The switch is intended only for tests. 769 // content. The switch is intended only for layout tests.
770 // TODO(gab): Get rid of this switch entirely.
767 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; 771 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading";
768 772
769 // Specifies the request key for the continuous speech recognition webservice. 773 // Specifies the request key for the continuous speech recognition webservice.
770 const char kSpeechRecognitionWebserviceKey[] = "speech-service-key"; 774 const char kSpeechRecognitionWebserviceKey[] = "speech-service-key";
771 775
772 // Specifies if the |StatsCollectionController| needs to be bound in the 776 // Specifies if the |StatsCollectionController| needs to be bound in the
773 // renderer. This binding happens on per-frame basis and hence can potentially 777 // renderer. This binding happens on per-frame basis and hence can potentially
774 // be a performance bottleneck. One should only enable it when running a test 778 // be a performance bottleneck. One should only enable it when running a test
775 // that needs to access the provided statistics. 779 // that needs to access the provided statistics.
776 const char kStatsCollectionController[] = 780 const char kStatsCollectionController[] =
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
961 #endif 965 #endif
962 966
963 #if defined(USE_AURA) 967 #if defined(USE_AURA)
964 // Forces usage of the test compositor. Needed to run ui tests on bots. 968 // Forces usage of the test compositor. Needed to run ui tests on bots.
965 extern const char kTestCompositor[] = "test-compositor"; 969 extern const char kTestCompositor[] = "test-compositor";
966 #endif 970 #endif
967 971
968 // Don't dump stuff here, follow the same order as the header. 972 // Don't dump stuff here, follow the same order as the header.
969 973
970 } // namespace switches 974 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698