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

Side by Side Diff: components/test_runner/layout_test_runtime_flags.h

Issue 1926773002: TestRunner: add method to instrument autoplay settings and set default value. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@autoplay-htmlmedialement
Patch Set: fix tests Created 4 years, 7 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
« no previous file with comments | « no previous file | components/test_runner/layout_test_runtime_flags.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 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 #ifndef COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_
6 #define COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ 6 #define COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // Flags influencing behavior of MockContentSettingsClient. 107 // Flags influencing behavior of MockContentSettingsClient.
108 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(images_allowed) 108 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(images_allowed)
109 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(media_allowed) 109 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(media_allowed)
110 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(scripts_allowed) 110 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(scripts_allowed)
111 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(storage_allowed) 111 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(storage_allowed)
112 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(plugins_allowed) 112 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(plugins_allowed)
113 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(displaying_insecure_content_allowed) 113 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(displaying_insecure_content_allowed)
114 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(running_insecure_content_allowed) 114 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(running_insecure_content_allowed)
115 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG( 115 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(
116 dump_web_content_settings_client_callbacks) 116 dump_web_content_settings_client_callbacks)
117 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(autoplay_allowed)
117 118
118 // If true, the test_shell will write a descriptive line for each editing 119 // If true, the test_shell will write a descriptive line for each editing
119 // command. 120 // command.
120 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_editting_callbacks) 121 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_editting_callbacks)
121 122
122 // If true, the test_shell will output a descriptive line for each frame 123 // If true, the test_shell will output a descriptive line for each frame
123 // load callback. 124 // load callback.
124 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_frame_load_callbacks) 125 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_frame_load_callbacks)
125 126
126 // If true, the test_shell will output a descriptive line for each 127 // If true, the test_shell will output a descriptive line for each
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 180
180 private: 181 private:
181 TrackedDictionary dict_; 182 TrackedDictionary dict_;
182 183
183 DISALLOW_COPY_AND_ASSIGN(LayoutTestRuntimeFlags); 184 DISALLOW_COPY_AND_ASSIGN(LayoutTestRuntimeFlags);
184 }; 185 };
185 186
186 } // namespace test_runner 187 } // namespace test_runner
187 188
188 #endif // COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ 189 #endif // COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_
OLDNEW
« no previous file with comments | « no previous file | components/test_runner/layout_test_runtime_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698