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

Unified Diff: chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.h

Issue 231193003: Add Create Shortcuts button to App Info dialog (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: As small as a patch can be! Almost. Created 6 years, 8 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/ui/views/apps/app_info_dialog/app_info_summary_tab.h
diff --git a/chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.h b/chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.h
index 005b889389fd60a1744963f001d850d1ea146505..a338fc99259555051d3ed3a5a19d071f499d9a69 100644
--- a/chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.h
+++ b/chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.h
@@ -86,9 +86,15 @@ class AppInfoSummaryTab : public AppInfoTab,
void UninstallApp();
bool CanUninstallApp() const;
+ // Create Shortcuts for the app. Must only be called if CanCreateShortcuts()
+ // returns true.
+ void CreateShortcuts();
+ bool CanCreateShortcuts() const;
+
// UI elements on the dialog.
views::ImageView* app_icon_;
views::Link* view_in_store_link_;
+ views::LabelButton* create_shortcuts_button_;
scoped_ptr<ExtensionUninstallDialog> extension_uninstall_dialog_;
views::LabelButton* uninstall_button_;
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698