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

Unified Diff: third_party/WebKit/Source/web/tests/sim/SimTest.h

Issue 1397713004: Don't bother layout until first navigation is done. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: another attempt to fix tests Created 4 years, 10 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
Index: third_party/WebKit/Source/web/tests/sim/SimTest.h
diff --git a/third_party/WebKit/Source/web/tests/sim/SimTest.h b/third_party/WebKit/Source/web/tests/sim/SimTest.h
index c40861775098aef79d98f9eab6abfb76b864a477..8d40de3e10f46f23285d0fce93c8dcfe2764039d 100644
--- a/third_party/WebKit/Source/web/tests/sim/SimTest.h
+++ b/third_party/WebKit/Source/web/tests/sim/SimTest.h
@@ -28,6 +28,8 @@ protected:
const SimWebViewClient& webViewClient() const;
SimCompositor& compositor();
+ bool hadFirstLayout() const { return m_webViewClient.hadFirstLayout(); }
+
private:
SimNetwork m_network;
SimCompositor m_compositor;
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebViewTest.cpp ('k') | third_party/WebKit/Source/web/tests/sim/SimWebViewClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698