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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java

Issue 2689993002: Refactor the INSTALL_SHORTCUT broadcast code into ChromeShortcutManager (Closed)
Patch Set: Change according to review comments. 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: chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
index 10cb908c7719566c81bf32d7387c615ef0cdc15b..72953632b6831547c65aa076d4d81870469ed646 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
@@ -566,6 +566,8 @@ public class ChromeTabbedActivity extends ChromeActivity implements OverviewMode
}
if (mVrShellDelegate.isDaydreamVrIntent(intent)) {
mVrShellDelegate.enterVRFromIntent(intent);
+ } else if (ShortcutHelper.isShowToastIntent(intent)) {
+ ShortcutHelper.showAddedToHomescreenToastFromIntent(intent);
}
} finally {
TraceEvent.end("ChromeTabbedActivity.onNewIntentWithNative");

Powered by Google App Engine
This is Rietveld 408576698