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

Side by Side Diff: chrome/browser/ui/views/browser_dialogs.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 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_
6 #define CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "chrome/common/content_settings_types.h" 11 #include "chrome/common/content_settings_types.h"
12 #include "gfx/native_widget_types.h" 12 #include "gfx/native_widget_types.h"
13 13
14 // This file contains functions for running a variety of browser dialogs and 14 // This file contains functions for running a variety of browser dialogs and
15 // popups. The dialogs here are the ones that the caller does not need to 15 // popups. The dialogs here are the ones that the caller does not need to
16 // access the class of the popup. It allows us to break dependencies by 16 // access the class of the popup. It allows us to break dependencies by
17 // allowing the callers to not depend on the classes implementing the dialogs. 17 // allowing the callers to not depend on the classes implementing the dialogs.
18 18
19 class Browser; 19 class Browser;
20 class BrowserView; 20 class BrowserView;
21 class EditSearchEngineControllerDelegate; 21 class EditSearchEngineControllerDelegate;
22 class Extension;
22 class FilePath; 23 class FilePath;
23 class FindBar; 24 class FindBar;
24 class GURL; 25 class GURL;
25 class HtmlDialogUIDelegate; 26 class HtmlDialogUIDelegate;
26 class InfoBubbleDelegate; 27 class InfoBubbleDelegate;
27 class Profile; 28 class Profile;
28 class TabContents; 29 class TabContents;
29 class TemplateURL; 30 class TemplateURL;
30 31
31 namespace gfx { 32 namespace gfx {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 115
115 // Shows the content settings dialog box. 116 // Shows the content settings dialog box.
116 void ShowContentSettingsWindow(gfx::NativeWindow parent_window, 117 void ShowContentSettingsWindow(gfx::NativeWindow parent_window,
117 ContentSettingsType content_type, 118 ContentSettingsType content_type,
118 Profile* profile); 119 Profile* profile);
119 120
120 // Shows the collected cookies dialog box. 121 // Shows the collected cookies dialog box.
121 void ShowCollectedCookiesDialog(gfx::NativeWindow parent_window, 122 void ShowCollectedCookiesDialog(gfx::NativeWindow parent_window,
122 TabContents* tab_contents); 123 TabContents* tab_contents);
123 124
125
124 // Shows the create web app shortcut dialog box. 126 // Shows the create web app shortcut dialog box.
125 void ShowCreateShortcutsDialog(gfx::NativeWindow parent_window, 127 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window,
126 TabContents* tab_contents); 128 TabContents* tab_contents);
129
130 // Shows the create chrome app shortcut dialog box.
131 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window,
132 Profile* profile,
133 const Extension* app);
127 134
128 } // namespace browser 135 } // namespace browser
129 136
130 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ 137 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/views/create_application_shortcut_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698