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

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

Issue 23530057: Merge 222950 "Adding a dialog on click of "add to homescreen" me..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1629/src/
Patch Set: Created 7 years, 3 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
===================================================================
--- chrome/browser/android/shortcut_helper.h (revision 223100)
+++ chrome/browser/android/shortcut_helper.h (working copy)
@@ -36,7 +36,8 @@
// the shortcut.
class ShortcutBuilder : public content::WebContentsObserver {
public:
- explicit ShortcutBuilder(content::WebContents* web_contents);
+ explicit ShortcutBuilder(content::WebContents* web_contents,
+ const string16& title);
virtual ~ShortcutBuilder() {}
void OnDidRetrieveWebappInformation(bool success,
@@ -65,7 +66,8 @@
public:
// Adds a shortcut to the current URL to the Android home screen, firing
// background tasks to pull all the data required.
- static void AddShortcut(content::WebContents* web_contents);
+ static void AddShortcut(content::WebContents* web_contents,
+ const string16& title);
// Adds a shortcut to the launcher. Must be called from a WorkerPool task.
static void AddShortcutInBackground(

Powered by Google App Engine
This is Rietveld 408576698