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