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

Unified Diff: content/shell/renderer/test_runner/web_test_proxy.h

Issue 550343002: Give the layout test harness better information to determine when to finish. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/common.gypi ('k') | content/shell/renderer/test_runner/web_test_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/web_test_proxy.h
diff --git a/content/shell/renderer/test_runner/web_test_proxy.h b/content/shell/renderer/test_runner/web_test_proxy.h
index 2ead7037d0e87ff18a4146ba80a373c6b0938080..2abdc9a36ae62ffc7f3161505fa5cbbef6dc0766 100644
--- a/content/shell/renderer/test_runner/web_test_proxy.h
+++ b/content/shell/renderer/test_runner/web_test_proxy.h
@@ -244,7 +244,13 @@ class WebTestProxyBase : public blink::WebCompositeAndReadbackAsyncCallback {
private:
template <class, typename, typename>
friend class WebFrameTestProxy;
- void LocationChangeDone(blink::WebFrame* frame);
+
+ enum CheckDoneReason {
+ LoadFinished,
+ MainResourceLoadFailed,
+ ResourceLoadCompleted
+ };
+ void CheckDone(blink::WebLocalFrame* frame, CheckDoneReason reason);
void AnimateNow();
void DrawSelectionRect(SkCanvas* canvas);
void DidDisplayAsync(const base::Closure& callback, const SkBitmap& bitmap);
« no previous file with comments | « build/common.gypi ('k') | content/shell/renderer/test_runner/web_test_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698