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

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

Issue 2521043003: Replace LayoutTests/paint/invalidation/text-selection-focus.html with a SimTest. (Closed)
Patch Set: copyrights. Created 4 years, 1 month 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 3d05a0272e07d7112673779985ed1b3164a26340..b56f41f3aa048ee7f5643a43e9eed5cba6466c4d 100644
--- a/third_party/WebKit/Source/web/tests/sim/SimTest.h
+++ b/third_party/WebKit/Source/web/tests/sim/SimTest.h
@@ -8,6 +8,7 @@
#include "web/tests/FrameTestHelpers.h"
#include "web/tests/sim/SimCompositor.h"
#include "web/tests/sim/SimNetwork.h"
+#include "web/tests/sim/SimPage.h"
#include "web/tests/sim/SimWebViewClient.h"
#include <gtest/gtest.h>
@@ -15,6 +16,7 @@ namespace blink {
class WebViewImpl;
class Document;
+class LocalDOMWindow;
class SimTest : public ::testing::Test {
protected:
@@ -23,6 +25,8 @@ class SimTest : public ::testing::Test {
void loadURL(const String& url);
+ LocalDOMWindow& window();
+ SimPage& page();
Document& document();
WebViewImpl& webView();
const SimWebViewClient& webViewClient() const;
@@ -32,6 +36,7 @@ class SimTest : public ::testing::Test {
SimNetwork m_network;
SimCompositor m_compositor;
SimWebViewClient m_webViewClient;
+ SimPage m_page;
FrameTestHelpers::WebViewHelper m_webViewHelper;
};

Powered by Google App Engine
This is Rietveld 408576698