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

Unified Diff: content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java

Issue 2431753002: Mus experiment in content shell on Android.
Patch Set: checkdeps fix 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: content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java
diff --git a/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java b/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java
index b886489479155ce91996667aecb24202b040d6a7..667624a67fcb99f1569a33d5083db3dbc46b1d8e 100644
--- a/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java
+++ b/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java
@@ -27,6 +27,7 @@ import org.chromium.content.common.ContentSwitches;
import org.chromium.content_public.browser.WebContents;
import org.chromium.content_shell.Shell;
import org.chromium.content_shell.ShellManager;
+import org.chromium.ui.PlatformWindowAndroid;
import org.chromium.ui.base.ActivityWindowAndroid;
/**
@@ -116,6 +117,8 @@ public class ContentShellActivity extends Activity {
System.exit(-1);
}
}
+
+ PlatformWindowAndroid.setActivity(this);
}
private void finishInitialization(Bundle savedInstanceState) {

Powered by Google App Engine
This is Rietveld 408576698