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

Unified Diff: chrome/browser/ui/browser_window.h

Issue 5273004: Add "create Application Shortcut" to the app menu on NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase for commit. Created 10 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/browser_init.cc ('k') | chrome/browser/ui/views/browser_dialogs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_window.h
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index 6780411061757099cb48917cee3ff6c71ec50281..810bf92de001fb3754eb09405d2634f548877edf 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -36,6 +36,8 @@ namespace views {
class Window;
}
+class Extension;
+
////////////////////////////////////////////////////////////////////////////////
// BrowserWindow interface
// An interface implemented by the "view" of the Browser window.
@@ -295,7 +297,11 @@ class BrowserWindow {
virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) = 0;
// Shows the create web app shortcut dialog box.
- virtual void ShowCreateShortcutsDialog(TabContents* tab_contents) = 0;
+ virtual void ShowCreateWebAppShortcutsDialog(TabContents* tab_contents) = 0;
+
+ // Shows the create chrome app shortcut dialog box.
+ virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile,
+ const Extension* app) = 0;
// Clipboard commands applied to the whole browser window.
virtual void Cut() = 0;
« no previous file with comments | « chrome/browser/ui/browser_init.cc ('k') | chrome/browser/ui/views/browser_dialogs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698