OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |