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

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: Sync and upload again 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 738da92bf543933a7a3fa329109f434745141277..7e00c584f9fd5dd3fe765b5ff27e0b0c49f38cb9 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
@@ -564,6 +564,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