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

Side by Side Diff: content/shell/common/shell_switches.cc

Issue 231763003: Support sideloaded fonts via command line option for blink layout_tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: guard for xp Created 6 years, 8 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/shell/common/shell_switches.h ('k') | content/shell/common/webkit_test_helpers.h » ('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/shell/common/shell_switches.h" 5 #include "content/shell/common/shell_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // Allow access to external pages during layout tests. 9 // Allow access to external pages during layout tests.
10 const char kAllowExternalPages[] = "allow-external-pages"; 10 const char kAllowExternalPages[] = "allow-external-pages";
(...skipping 21 matching lines...) Expand all
32 32
33 // Enables the leak detection of loading webpages. This allows us to check 33 // Enables the leak detection of loading webpages. This allows us to check
34 // whether or not reloading a webpage releases web-related objects correctly. 34 // whether or not reloading a webpage releases web-related objects correctly.
35 const char kEnableLeakDetection[] = "enable-leak-detection"; 35 const char kEnableLeakDetection[] = "enable-leak-detection";
36 36
37 // Encode binary layout test results (images, audio) using base64. 37 // Encode binary layout test results (images, audio) using base64.
38 const char kEncodeBinary[] = "encode-binary"; 38 const char kEncodeBinary[] = "encode-binary";
39 39
40 // Exposes the window.internals object to JavaScript for interactive development 40 // Exposes the window.internals object to JavaScript for interactive development
41 // and debugging of layout tests that rely on it. 41 // and debugging of layout tests that rely on it.
42 const char kExposeInternalsForTesting[] = "expose-internals-for-testing"; 42 const char kExposeInternalsForTesting[] = "expose-internals-for-testing";
43
44 // Registers additional font files on Windows (for fonts outside the usual
45 // %WINDIR%\Fonts location). Multiple files can be used by separating them
46 // with a semicolon (;).
47 const char kRegisterFontFiles[] = "register-font-files";
43 48
44 // This makes us disable some web-platform runtime features so that we test 49 // This makes us disable some web-platform runtime features so that we test
45 // content_shell as if it was a stable release. It is only followed when 50 // content_shell as if it was a stable release. It is only followed when
46 // kDumpRenderTree is set. For the features' level, see 51 // kDumpRenderTree is set. For the features' level, see
47 // http://dev.chromium.org/blink/runtime-enabled-features. 52 // http://dev.chromium.org/blink/runtime-enabled-features.
48 const char kStableReleaseMode[] = "stable-release-mode"; 53 const char kStableReleaseMode[] = "stable-release-mode";
49 54
50 } // namespace switches 55 } // namespace switches
OLDNEW
« no previous file with comments | « content/shell/common/shell_switches.h ('k') | content/shell/common/webkit_test_helpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698