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

Unified Diff: third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp

Issue 2860673002: Change all test cases to use WebViewBase instead of WebViewImpl. (Closed)
Patch Set: Address code review comments. Created 3 years, 7 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/ImeOnFocusTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp b/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp
index 1faa13b4b82ec6d8d4f4f7b9842afedbd1894455..c629d5fb00afcad0b13748d59a35f75f9abfd762 100644
--- a/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp
@@ -9,6 +9,7 @@
#include "platform/testing/URLTestHelpers.h"
#include "platform/testing/UnitTestHelpers.h"
#include "public/platform/Platform.h"
+#include "public/platform/WebCoalescedInputEvent.h"
#include "public/platform/WebURLLoaderMockFactory.h"
#include "public/web/WebDocument.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -96,7 +97,7 @@ void ImeOnFocusTest::RunImeOnFocusTest(
RegisterMockedURLLoadFromBase(WebString::FromUTF8(base_url_),
testing::WebTestDataPath(),
WebString::FromUTF8(file_name));
- WebViewImpl* web_view =
+ WebViewBase* web_view =
web_view_helper_.Initialize(true, 0, nullptr, &client);
web_view->Resize(WebSize(800, 1200));
LoadFrame(web_view->MainFrame(), base_url_ + file_name);

Powered by Google App Engine
This is Rietveld 408576698