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

Side by Side Diff: content/shell/browser/layout_test/blink_test_controller.h

Issue 1746393002: Quit BlinkTestRunner::TestFinished early if main frame is not local. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@reenable-tests-fixed-by-alex
Patch Set: Rebasing... Created 4 years, 9 months 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
« no previous file with comments | « no previous file | content/shell/browser/layout_test/blink_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_LAYOUT_TEST_BLINK_TEST_CONTROLLER_H_ 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_BLINK_TEST_CONTROLLER_H_
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_BLINK_TEST_CONTROLLER_H_ 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_BLINK_TEST_CONTROLLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <ostream> 9 #include <ostream>
10 #include <string> 10 #include <string>
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 const base::FilePath& current_working_directory, 133 const base::FilePath& current_working_directory,
134 bool enable_pixel_dumping, 134 bool enable_pixel_dumping,
135 const std::string& expected_pixel_hash); 135 const std::string& expected_pixel_hash);
136 // True if the controller was reset successfully. 136 // True if the controller was reset successfully.
137 bool ResetAfterLayoutTest(); 137 bool ResetAfterLayoutTest();
138 138
139 void SetTempPath(const base::FilePath& temp_path); 139 void SetTempPath(const base::FilePath& temp_path);
140 void RendererUnresponsive(); 140 void RendererUnresponsive();
141 void OverrideWebkitPrefs(WebPreferences* prefs); 141 void OverrideWebkitPrefs(WebPreferences* prefs);
142 void OpenURL(const GURL& url); 142 void OpenURL(const GURL& url);
143 void TestFinishedInSecondaryWindow(); 143 void TestFinishedInSecondaryRenderer();
144 bool IsMainWindow(WebContents* web_contents) const; 144 bool IsMainWindow(WebContents* web_contents) const;
145 scoped_ptr<BluetoothChooser> RunBluetoothChooser( 145 scoped_ptr<BluetoothChooser> RunBluetoothChooser(
146 RenderFrameHost* frame, 146 RenderFrameHost* frame,
147 const BluetoothChooser::EventHandler& event_handler); 147 const BluetoothChooser::EventHandler& event_handler);
148 148
149 BlinkTestResultPrinter* printer() { return printer_.get(); } 149 BlinkTestResultPrinter* printer() { return printer_.get(); }
150 void set_printer(BlinkTestResultPrinter* printer) { printer_.reset(printer); } 150 void set_printer(BlinkTestResultPrinter* printer) { printer_.reset(printer); }
151 151
152 void DevToolsProcessCrashed(); 152 void DevToolsProcessCrashed();
153 153
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 // waiting on the UI thread while layout tests are being ran. 269 // waiting on the UI thread while layout tests are being ran.
270 ScopedAllowWaitForAndroidLayoutTests reduced_restrictions_; 270 ScopedAllowWaitForAndroidLayoutTests reduced_restrictions_;
271 #endif 271 #endif
272 272
273 DISALLOW_COPY_AND_ASSIGN(BlinkTestController); 273 DISALLOW_COPY_AND_ASSIGN(BlinkTestController);
274 }; 274 };
275 275
276 } // namespace content 276 } // namespace content
277 277
278 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_BLINK_TEST_CONTROLLER_H_ 278 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_BLINK_TEST_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | content/shell/browser/layout_test/blink_test_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698