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

Side by Side Diff: content/shell/common/layout_test/layout_test_switches.cc

Issue 1799923002: Make kExposeInternalsForTesting usable (again) for interactive content_shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix include path. Created 4 years, 9 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/layout_test/layout_test_switches.h" 5 #include "content/shell/common/layout_test/layout_test_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/strings/string_split.h" 8 #include "base/strings/string_split.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 17 matching lines...) Expand all
28 // Always use the complex text path for layout tests. 28 // Always use the complex text path for layout tests.
29 const char kAlwaysUseComplexText[] = "always-use-complex-text"; 29 const char kAlwaysUseComplexText[] = "always-use-complex-text";
30 30
31 // Enables the leak detection of loading webpages. This allows us to check 31 // Enables the leak detection of loading webpages. This allows us to check
32 // whether or not reloading a webpage releases web-related objects correctly. 32 // whether or not reloading a webpage releases web-related objects correctly.
33 const char kEnableLeakDetection[] = "enable-leak-detection"; 33 const char kEnableLeakDetection[] = "enable-leak-detection";
34 34
35 // Encode binary layout test results (images, audio) using base64. 35 // Encode binary layout test results (images, audio) using base64.
36 const char kEncodeBinary[] = "encode-binary"; 36 const char kEncodeBinary[] = "encode-binary";
37 37
38 // Exposes the window.internals object to JavaScript for interactive development
39 // and debugging of layout tests that rely on it.
40 const char kExposeInternalsForTesting[] = "expose-internals-for-testing";
41
42 // Request the render trees of pages to be dumped as text once they have 38 // Request the render trees of pages to be dumped as text once they have
43 // finished loading. 39 // finished loading.
44 const char kRunLayoutTest[] = "run-layout-test"; 40 const char kRunLayoutTest[] = "run-layout-test";
45 41
46 // This makes us disable some web-platform runtime features so that we test 42 // This makes us disable some web-platform runtime features so that we test
47 // content_shell as if it was a stable release. It is only followed when 43 // content_shell as if it was a stable release. It is only followed when
48 // kRunLayoutTest is set. For the features' level, see 44 // kRunLayoutTest is set. For the features' level, see
49 // http://dev.chromium.org/blink/runtime-enabled-features. 45 // http://dev.chromium.org/blink/runtime-enabled-features.
50 const char kStableReleaseMode[] = "stable-release-mode"; 46 const char kStableReleaseMode[] = "stable-release-mode";
51 47
52 } // namespace switches 48 } // namespace switches
OLDNEW
« no previous file with comments | « content/shell/common/layout_test/layout_test_switches.h ('k') | content/shell/common/shell_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698