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

Unified Diff: content/shell/android/java/src/org/chromium/content_shell/ShellViewAndroidDelegate.java

Issue 2708243004: Auto convert content shell tests to JUnit4 (Closed)
Patch Set: Remove test that failed Created 3 years, 10 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/java/src/org/chromium/content_shell/ShellViewAndroidDelegate.java
diff --git a/content/shell/android/java/src/org/chromium/content_shell/ShellViewAndroidDelegate.java b/content/shell/android/java/src/org/chromium/content_shell/ShellViewAndroidDelegate.java
index b1102b3aa953d0e7ea939f0c050a72c05afb478f..37aea7ce2418addb970447c7226a680e82855d17 100644
--- a/content/shell/android/java/src/org/chromium/content_shell/ShellViewAndroidDelegate.java
+++ b/content/shell/android/java/src/org/chromium/content_shell/ShellViewAndroidDelegate.java
@@ -7,6 +7,7 @@ package org.chromium.content_shell;
import android.content.Intent;
import android.view.ViewGroup;
+import org.chromium.base.Log;
import org.chromium.ui.base.ViewAndroidDelegate;
/**
@@ -37,9 +38,14 @@ public class ShellViewAndroidDelegate extends ViewAndroidDelegate {
* @param handler Handler to inject to {@link #startContentIntent}.
*/
public void setContentIntentHandler(ContentIntentHandler handler) {
+ Log.d("#YOLAND", "setting handler to be " + handler.toString());
mContentIntentHandler = handler;
}
+ public ContentIntentHandler getContentIntentHandler() {
+ return mContentIntentHandler;
+ }
+
@Override
public void startContentIntent(Intent intent, String intentUrl, boolean isMainFrame) {
if (mContentIntentHandler != null) mContentIntentHandler.onIntentUrlReceived(intentUrl);

Powered by Google App Engine
This is Rietveld 408576698