| 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 CONTENT_SHELL_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ | 5 #ifndef CONTENT_SHELL_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ |
| 6 #define CONTENT_SHELL_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ | 6 #define CONTENT_SHELL_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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 | 165 |
| 166 // If true, new windows can be opened via javascript or by plugins. By | 166 // If true, new windows can be opened via javascript or by plugins. By |
| 167 // default, set to false and can be toggled to true using | 167 // default, set to false and can be toggled to true using |
| 168 // setCanOpenWindows(). | 168 // setCanOpenWindows(). |
| 169 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(can_open_windows) | 169 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(can_open_windows) |
| 170 | 170 |
| 171 // If true, output a descriptive line each time WebViewClient::createView | 171 // If true, output a descriptive line each time WebViewClient::createView |
| 172 // is invoked. | 172 // is invoked. |
| 173 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_create_view) | 173 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_create_view) |
| 174 | 174 |
| 175 // If true, the test_shell will dump all changes to window.status. | |
| 176 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_window_status_changes) | |
| 177 | |
| 178 // If true, the test_shell will output descriptive test for spellcheck | 175 // If true, the test_shell will output descriptive test for spellcheck |
| 179 // execution. | 176 // execution. |
| 180 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_spell_check_callbacks) | 177 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_spell_check_callbacks) |
| 181 | 178 |
| 182 // If true, content_shell will output text for alert(), confirm(), prompt(), | 179 // If true, content_shell will output text for alert(), confirm(), prompt(), |
| 183 // etc. | 180 // etc. |
| 184 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_javascript_dialogs) | 181 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(dump_javascript_dialogs) |
| 185 | 182 |
| 186 // True if the test called testRunner.setCustomTextOutput. | 183 // True if the test called testRunner.setCustomTextOutput. |
| 187 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(has_custom_text_output) | 184 DEFINE_BOOL_LAYOUT_TEST_RUNTIME_FLAG(has_custom_text_output) |
| (...skipping 16 matching lines...) Expand all Loading... |
| 204 | 201 |
| 205 private: | 202 private: |
| 206 TrackedDictionary dict_; | 203 TrackedDictionary dict_; |
| 207 | 204 |
| 208 DISALLOW_COPY_AND_ASSIGN(LayoutTestRuntimeFlags); | 205 DISALLOW_COPY_AND_ASSIGN(LayoutTestRuntimeFlags); |
| 209 }; | 206 }; |
| 210 | 207 |
| 211 } // namespace test_runner | 208 } // namespace test_runner |
| 212 | 209 |
| 213 #endif // CONTENT_SHELL_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ | 210 #endif // CONTENT_SHELL_TEST_RUNNER_LAYOUT_TEST_RUNTIME_FLAGS_H_ |
| OLD | NEW |