| 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 // If true, output a message when the page title is changed. | 149 // If true, output a message when the page title is changed. |
| 150 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_title_changes) | 150 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_title_changes) |
| 151 | 151 |
| 152 // 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. |
| 153 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_icon_changes) | 153 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_icon_changes) |
| 154 | 154 |
| 155 // If true, the console messages produced by the page will |
| 156 // be part of test output. |
| 157 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_console_messages) |
| 158 |
| 155 // Desired return value of WebFrameClient::runModalBeforeUnloadDialog. | 159 // Desired return value of WebFrameClient::runModalBeforeUnloadDialog. |
| 156 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG( | 160 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG( |
| 157 stay_on_page_after_handling_before_unload) | 161 stay_on_page_after_handling_before_unload) |
| 158 | 162 |
| 159 // Indicates if the test already tracks a top loading frame (in any of the | 163 // Indicates if the test already tracks a top loading frame (in any of the |
| 160 // renderer processes). This flag is trying to prevent different renderer | 164 // renderer processes). This flag is trying to prevent different renderer |
| 161 // processes from tracking different top loading frames (i.e. main frame in | 165 // processes from tracking different top loading frames (i.e. main frame in |
| 162 // one renderer and an OOPIF in another renderer). | 166 // one renderer and an OOPIF in another renderer). |
| 163 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(have_top_loading_frame) | 167 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(have_top_loading_frame) |
| 164 | 168 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 177 | 181 |
| 178 private: | 182 private: |
| 179 TrackedDictionary dict_; | 183 TrackedDictionary dict_; |
| 180 | 184 |
| 181 DISALLOW_COPY_AND_ASSIGN(LayoutTestRuntimeFlags); | 185 DISALLOW_COPY_AND_ASSIGN(LayoutTestRuntimeFlags); |
| 182 }; | 186 }; |
| 183 | 187 |
| 184 } // namespace test_runner | 188 } // namespace test_runner |
| 185 | 189 |
| 186 #endif // COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ | 190 #endif // COMPONENTS_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ |
| OLD | NEW |