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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/input/SelectPopupOtherContentViewTest.java

Issue 2595263002: Introduce ViewRoot forwarding input/view events to native (Closed)
Patch Set: addressed comments Created 3 years, 12 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: chrome/android/javatests/src/org/chromium/chrome/browser/input/SelectPopupOtherContentViewTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/input/SelectPopupOtherContentViewTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/input/SelectPopupOtherContentViewTest.java
index 32415fab0ef5c06076b69088fc512097a82e1f13..9da72b74235c3d9a842c46bc09945d7c2ccbd93d 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/input/SelectPopupOtherContentViewTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/input/SelectPopupOtherContentViewTest.java
@@ -21,6 +21,7 @@ import org.chromium.content.browser.test.util.DOMUtils;
import org.chromium.content_public.browser.WebContents;
import org.chromium.ui.base.ActivityWindowAndroid;
import org.chromium.ui.base.ViewAndroidDelegate;
+import org.chromium.ui.base.ViewRoot;
import org.chromium.ui.base.WindowAndroid;
/**
@@ -91,7 +92,7 @@ public class SelectPopupOtherContentViewTest extends ChromeActivityTestCaseBase<
ContentViewCore contentViewCore = new ContentViewCore(getActivity(), "");
ContentView cv = ContentView.createContentView(getActivity(), contentViewCore);
contentViewCore.initialize(ViewAndroidDelegate.createBasicDelegate(cv), cv,
- webContents, windowAndroid);
+ webContents, windowAndroid, ViewRoot.create(windowAndroid));
contentViewCore.destroy();
}
});

Powered by Google App Engine
This is Rietveld 408576698