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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_ping_loader_callbacks) | 128 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_ping_loader_callbacks) |
129 | 129 |
130 // If true, the test_shell will output a line of the user gesture status | 130 // If true, the test_shell will output a line of the user gesture status |
131 // text for some frame load callbacks. | 131 // text for some frame load callbacks. |
132 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG( | 132 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG( |
133 dump_user_gesture_in_frame_load_callbacks) | 133 dump_user_gesture_in_frame_load_callbacks) |
134 | 134 |
135 // If true, the test_shell will output a descriptive line for each resource | 135 // If true, the test_shell will output a descriptive line for each resource |
136 // load callback. | 136 // load callback. |
137 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_resource_load_callbacks) | 137 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_resource_load_callbacks) |
138 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_resource_priorities) | |
139 | 138 |
140 // If true, the test_shell will output the MIME type for each resource that | 139 // If true, the test_shell will output the MIME type for each resource that |
141 // was loaded. | 140 // was loaded. |
142 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_resource_response_mime_types) | 141 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_resource_response_mime_types) |
143 | 142 |
144 // If true, content_shell will dump the default navigation policy passed to | 143 // If true, content_shell will dump the default navigation policy passed to |
145 // WebFrameClient::decidePolicyForNavigation. | 144 // WebFrameClient::decidePolicyForNavigation. |
146 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_navigation_policy) | 145 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_navigation_policy) |
147 | 146 |
148 // If true, output a message when the page title is changed. | 147 // If true, output a message when the page title is changed. |
(...skipping 47 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 |