Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: content/shell/webkit_test_controller.h

Issue 11594006: [content shell] if a layout test runs notifyDone() before it has finished loading, wait for the pag… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/shell/webkit_test_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | content/shell/webkit_test_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698