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

Unified Diff: content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestCommon.java

Issue 2779033004: [Android] Focus/Blur contents when window focus changes (Closed)
Patch Set: Add comments Created 3 years, 9 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: content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestCommon.java
diff --git a/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestCommon.java b/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestCommon.java
index 1259221bff4d849df0f97c01c62b50640476ef3c..3c730e3abd2ed32757a2cce24e85dec28a43b7c6 100644
--- a/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestCommon.java
+++ b/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestCommon.java
@@ -175,7 +175,7 @@ public final class ContentShellTestCommon {
ContentView cv = ContentView.createContentView(
mCallback.getActivityForTestCommon(), getContentViewCore());
((ViewGroup) getContentViewCore().getContainerView().getParent()).addView(cv);
- getContentViewCore().setContainerView(cv);
+ getContentViewCore().replaceContainerView(cv);
getContentViewCore().setContainerViewInternals(cv);
cv.requestFocus();
}

Powered by Google App Engine
This is Rietveld 408576698