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

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

Issue 23534006: Enable GPU blacklist in tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge up to r223354 -- think AcceleratedCompositingBlockedTest.AcceleratedCompositingBlocked is fix… 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/test/browser_test_base.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 // 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 // iframe support is available. Cross-site network requests do attach the 756 // iframe support is available. Cross-site network requests do attach the
754 // normal set of cookies, but a renderer process is only allowed to view or 757 // normal set of cookies, but a renderer process is only allowed to view or
755 // modify cookies for its own site (via JavaScript). 758 // modify cookies for its own site (via JavaScript).
756 // TODO(irobert): Implement the cross-site document blocking in 759 // TODO(irobert): Implement the cross-site document blocking in
757 // http://crbug.com/159215. 760 // http://crbug.com/159215.
758 const char kSitePerProcess[] = "site-per-process"; 761 const char kSitePerProcess[] = "site-per-process";
759 762
760 // Skip gpu info collection, blacklist loading, and blacklist auto-update 763 // Skip gpu info collection, blacklist loading, and blacklist auto-update
761 // scheduling at browser startup time. 764 // scheduling at browser startup time.
762 // Therefore, all GPU features are available, and about:gpu page shows empty 765 // Therefore, all GPU features are available, and about:gpu page shows empty
763 // content. The switch is intended only for tests. 766 // content. The switch is intended only for layout tests.
767 // TODO(gab): Get rid of this switch entirely.
764 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; 768 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading";
765 769
766 // Specifies the request key for the continuous speech recognition webservice. 770 // Specifies the request key for the continuous speech recognition webservice.
767 const char kSpeechRecognitionWebserviceKey[] = "speech-service-key"; 771 const char kSpeechRecognitionWebserviceKey[] = "speech-service-key";
768 772
769 // Specifies if the |StatsCollectionController| needs to be bound in the 773 // Specifies if the |StatsCollectionController| needs to be bound in the
770 // renderer. This binding happens on per-frame basis and hence can potentially 774 // renderer. This binding happens on per-frame basis and hence can potentially
771 // be a performance bottleneck. One should only enable it when running a test 775 // be a performance bottleneck. One should only enable it when running a test
772 // that needs to access the provided statistics. 776 // that needs to access the provided statistics.
773 const char kStatsCollectionController[] = 777 const char kStatsCollectionController[] =
(...skipping 187 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/test/browser_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698