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

Unified Diff: chrome/browser/extensions/tab_helper.h

Issue 2772713002: Remove IDC_CREATE_SHORTCUT and its associated UI. (Closed)
Patch Set: iwyu Created 3 years, 9 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/extensions/tab_helper.h
diff --git a/chrome/browser/extensions/tab_helper.h b/chrome/browser/extensions/tab_helper.h
index 7e353917bc66771946798ac2cccccbcfb8d2d3a2..872f185310061208ddcfa19a8593c6aece387770 100644
--- a/chrome/browser/extensions/tab_helper.h
+++ b/chrome/browser/extensions/tab_helper.h
@@ -50,9 +50,7 @@ class TabHelper : public content::WebContentsObserver,
public:
~TabHelper() override;
- void CreateApplicationShortcuts();
void CreateHostedAppFromWebContents();
- bool CanCreateApplicationShortcuts() const;
bool CanCreateBookmarkApp() const;
void UpdateShortcutOnLoadComplete() {
@@ -130,7 +128,6 @@ class TabHelper : public content::WebContentsObserver,
// OnDidGetApplicationInfo uses this to dispatch calls.
enum WebAppAction {
NONE, // No action at all.
- CREATE_SHORTCUT, // Bring up create application shortcut dialog.
CREATE_HOSTED_APP, // Create and install a hosted app.
UPDATE_SHORTCUT // Update icon for app shortcut.
};

Powered by Google App Engine
This is Rietveld 408576698