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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_resource_priorities) | 139 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_resource_priorities) |
140 | 140 |
141 // If true, the test_shell will output the MIME type for each resource that | 141 // If true, the test_shell will output the MIME type for each resource that |
142 // was loaded. | 142 // was loaded. |
143 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_resource_response_mime_types) | 143 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_resource_response_mime_types) |
144 | 144 |
145 // If true, content_shell will dump the default navigation policy passed to | 145 // If true, content_shell will dump the default navigation policy passed to |
146 // WebFrameClient::decidePolicyForNavigation. | 146 // WebFrameClient::decidePolicyForNavigation. |
147 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_navigation_policy) | 147 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_navigation_policy) |
148 | 148 |
149 // Bound variable to set whether postMessages should be intercepted or not | |
150 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(intercept_post_message) | |
151 | |
152 // If true, output a message when the page title is changed. | 149 // If true, output a message when the page title is changed. |
153 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_title_changes) | 150 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_title_changes) |
154 | 151 |
155 // If true, the test_shell will print out the icon change notifications. | 152 // If true, the test_shell will print out the icon change notifications. |
156 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_icon_changes) | 153 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_icon_changes) |
157 | 154 |
158 // Desired return value of WebFrameClient::runModalBeforeUnloadDialog. | 155 // Desired return value of WebFrameClient::runModalBeforeUnloadDialog. |
159 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG( | 156 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG( |
160 stay_on_page_after_handling_before_unload) | 157 stay_on_page_after_handling_before_unload) |
161 | 158 |
(...skipping 18 matching lines...) Expand all Loading... |
180 | 177 |
181 private: | 178 private: |
182 TrackedDictionary dict_; | 179 TrackedDictionary dict_; |
183 | 180 |
184 DISALLOW_COPY_AND_ASSIGN(LayoutTestRuntimeFlags); | 181 DISALLOW_COPY_AND_ASSIGN(LayoutTestRuntimeFlags); |
185 }; | 182 }; |
186 | 183 |
187 } // namespace test_runner | 184 } // namespace test_runner |
188 | 185 |
189 #endif // COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ | 186 #endif // COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ |
OLD | NEW |