| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WEBKIT_TEST_CONTROLLER_H_ | 5 #ifndef CONTENT_SHELL_WEBKIT_TEST_CONTROLLER_H_ |
| 6 #define CONTENT_SHELL_WEBKIT_TEST_CONTROLLER_H_ | 6 #define CONTENT_SHELL_WEBKIT_TEST_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <ostream> | 8 #include <ostream> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 bool enable_pixel_dumping_; | 139 bool enable_pixel_dumping_; |
| 140 std::string expected_pixel_hash_; | 140 std::string expected_pixel_hash_; |
| 141 | 141 |
| 142 bool captured_dump_; | 142 bool captured_dump_; |
| 143 | 143 |
| 144 bool dump_as_text_; | 144 bool dump_as_text_; |
| 145 bool dump_child_frames_; | 145 bool dump_child_frames_; |
| 146 bool is_printing_; | 146 bool is_printing_; |
| 147 bool should_stay_on_page_after_handling_before_unload_; | 147 bool should_stay_on_page_after_handling_before_unload_; |
| 148 bool wait_until_done_; | 148 bool wait_until_done_; |
| 149 bool did_finish_load_; |
| 150 |
| 149 // TODO(jochen): Once we remove layout tests from content_browsertests, make | 151 // TODO(jochen): Once we remove layout tests from content_browsertests, make |
| 150 // this a member instead of a scoped_ptr. | 152 // this a member instead of a scoped_ptr. |
| 151 scoped_ptr<ShellWebPreferences> prefs_; | 153 scoped_ptr<ShellWebPreferences> prefs_; |
| 152 | 154 |
| 153 base::CancelableClosure watchdog_; | 155 base::CancelableClosure watchdog_; |
| 154 | 156 |
| 155 // Access to the following variables needs to be guarded by |lock_|. | 157 // Access to the following variables needs to be guarded by |lock_|. |
| 156 mutable base::Lock lock_; | 158 mutable base::Lock lock_; |
| 157 bool can_open_windows_; | 159 bool can_open_windows_; |
| 158 | 160 |
| 159 DISALLOW_COPY_AND_ASSIGN(WebKitTestController); | 161 DISALLOW_COPY_AND_ASSIGN(WebKitTestController); |
| 160 }; | 162 }; |
| 161 | 163 |
| 162 } // namespace content | 164 } // namespace content |
| 163 | 165 |
| 164 #endif // CONTENT_SHELL_WEBKIT_TEST_CONTROLLER_H_ | 166 #endif // CONTENT_SHELL_WEBKIT_TEST_CONTROLLER_H_ |
| OLD | NEW |