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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_drag_image) | 102 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_drag_image) |
103 | 103 |
104 // Contents of Accept-Language HTTP header requested by the test. | 104 // Contents of Accept-Language HTTP header requested by the test. |
105 DEFINE_STRING_LAYOUT_TEST_RUNTIME_FLAG(accept_languages) | 105 DEFINE_STRING_LAYOUT_TEST_RUNTIME_FLAG(accept_languages) |
106 | 106 |
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(scripts_allowed) | 109 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(scripts_allowed) |
110 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(storage_allowed) | 110 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(storage_allowed) |
111 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(plugins_allowed) | 111 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(plugins_allowed) |
112 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(displaying_insecure_content_allowed) | |
113 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(running_insecure_content_allowed) | 112 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(running_insecure_content_allowed) |
114 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG( | 113 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG( |
115 dump_web_content_settings_client_callbacks) | 114 dump_web_content_settings_client_callbacks) |
116 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(autoplay_allowed) | 115 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(autoplay_allowed) |
117 | 116 |
118 // If true, the test_shell will write a descriptive line for each editing | 117 // If true, the test_shell will write a descriptive line for each editing |
119 // command. | 118 // command. |
120 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_editting_callbacks) | 119 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_editting_callbacks) |
121 | 120 |
122 // If true, the test_shell will output a descriptive line for each frame | 121 // If true, the test_shell will output a descriptive line for each frame |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 | 195 |
197 private: | 196 private: |
198 TrackedDictionary dict_; | 197 TrackedDictionary dict_; |
199 | 198 |
200 DISALLOW_COPY_AND_ASSIGN(LayoutTestRuntimeFlags); | 199 DISALLOW_COPY_AND_ASSIGN(LayoutTestRuntimeFlags); |
201 }; | 200 }; |
202 | 201 |
203 } // namespace test_runner | 202 } // namespace test_runner |
204 | 203 |
205 #endif // COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ | 204 #endif // COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ |
OLD | NEW |