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

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

Issue 8383008: Add a command-line switch --skip-gpu-data-loading. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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') | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 // and study painting behavior. 439 // and study painting behavior.
440 const char kShowPaintRects[] = "show-paint-rects"; 440 const char kShowPaintRects[] = "show-paint-rects";
441 // 441 //
442 // TODO(scherkus): remove --simple-data-source when our media resource loading 442 // TODO(scherkus): remove --simple-data-source when our media resource loading
443 // is cleaned up and playback testing completed. 443 // is cleaned up and playback testing completed.
444 const char kSimpleDataSource[] = "simple-data-source"; 444 const char kSimpleDataSource[] = "simple-data-source";
445 445
446 // Runs the renderer and plugins in the same process as the browser 446 // Runs the renderer and plugins in the same process as the browser
447 const char kSingleProcess[] = "single-process"; 447 const char kSingleProcess[] = "single-process";
448 448
449 // Skip gpu info collection, blacklist loading, and blacklist auto-update
450 // scheduling at browser startup time.
451 // Therefore, all GPU features are available, and about:gpu page shows empty
452 // content. The switch is intended only for tests.
453 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading";
454
449 // Use SQLite as back-end for Indexed Database API. 455 // Use SQLite as back-end for Indexed Database API.
450 // Used for debugging differences between the LevelDB and SQLite back-end. 456 // Used for debugging differences between the LevelDB and SQLite back-end.
451 const char kSQLiteIndexedDatabase[] = "indexeddb-use-sqlite"; 457 const char kSQLiteIndexedDatabase[] = "indexeddb-use-sqlite";
452 458
453 // Runs the security test for the renderer sandbox. 459 // Runs the security test for the renderer sandbox.
454 const char kTestSandbox[] = "test-sandbox"; 460 const char kTestSandbox[] = "test-sandbox";
455 461
456 // A string used to override the default user agent with a custom one. 462 // A string used to override the default user agent with a custom one.
457 const char kUserAgent[] = "user-agent"; 463 const char kUserAgent[] = "user-agent";
458 464
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 // instead of NSS for SSL. 509 // instead of NSS for SSL.
504 const char kUseSystemSSL[] = "use-system-ssl"; 510 const char kUseSystemSSL[] = "use-system-ssl";
505 #endif 511 #endif
506 512
507 #if !defined(OFFICIAL_BUILD) 513 #if !defined(OFFICIAL_BUILD)
508 // Causes the renderer process to throw an assertion on launch. 514 // Causes the renderer process to throw an assertion on launch.
509 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; 515 const char kRendererCheckFalseTest[] = "renderer-check-false-test";
510 #endif 516 #endif
511 517
512 } // namespace switches 518 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698