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

Unified Diff: chrome/browser/android/shortcut_helper.h

Issue 934183002: Make the ShortcutHelper toast instead of send the user home for web app banners (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix existing null access, change for comments Created 5 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/browser/android/shortcut_helper.h
diff --git a/chrome/browser/android/shortcut_helper.h b/chrome/browser/android/shortcut_helper.h
index 9b3074bf2ef4dcf429b8097c127a085940e1f738..6200c3c89875702ee877fb594bcef2f8e8463919 100644
--- a/chrome/browser/android/shortcut_helper.h
+++ b/chrome/browser/android/shortcut_helper.h
@@ -91,7 +91,8 @@ class ShortcutHelper : public content::WebContentsObserver {
// Must be called from a WorkerPool task.
static void AddShortcutInBackgroundWithSkBitmap(
const ShortcutInfo& info,
- const SkBitmap& icon_bitmap);
+ const SkBitmap& icon_bitmap,
+ const bool return_to_homescreen);
// Registers JNI hooks.
static bool RegisterShortcutHelper(JNIEnv* env);
« no previous file with comments | « chrome/browser/android/banners/app_banner_infobar_delegate.cc ('k') | chrome/browser/android/shortcut_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698