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

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

Issue 24063004: Adding a dialog on click of "add to homescreen" menu item to edit the title. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Error uploading patchset, trying again 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
diff --git a/chrome/browser/android/shortcut_helper.h b/chrome/browser/android/shortcut_helper.h
index 2e66a9cbeee30efccdb300aabe76bf8d89de5f04..302d9d7c1df635f787de243515f6002ccaa6f76b 100644
--- a/chrome/browser/android/shortcut_helper.h
+++ b/chrome/browser/android/shortcut_helper.h
@@ -36,7 +36,7 @@ class GURL;
// the shortcut.
class ShortcutBuilder : public content::WebContentsObserver {
public:
- explicit ShortcutBuilder(content::WebContents* web_contents);
+ explicit ShortcutBuilder(content::WebContents* web_contents, string16 title);
virtual ~ShortcutBuilder() {}
void OnDidRetrieveWebappInformation(bool success,
@@ -65,7 +65,7 @@ class ShortcutHelper {
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, 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