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

Side by Side Diff: chrome/browser/ui/cocoa/browser_dialogs_views_mac.h

Issue 2929733003: MacViews: Wire up CreateChromeApplicationShortcutView
Patch Set: rename ivar Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/cocoa/browser_dialogs_views_mac.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_COCOA_BROWSER_DIALOGS_VIEWS_MAC_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_DIALOGS_VIEWS_MAC_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_DIALOGS_VIEWS_MAC_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_DIALOGS_VIEWS_MAC_H_
7 7
8 #include "ui/gfx/native_widget_types.h" 8 #include "ui/gfx/native_widget_types.h"
9 9
10 class Browser; 10 class Browser;
11 class ContentSettingBubbleModel; 11 class ContentSettingBubbleModel;
12 class GURL; 12 class GURL;
13 class LocationBarDecoration; 13 class LocationBarDecoration;
14 class Profile; 14 class Profile;
15 15
16 namespace bookmarks { 16 namespace bookmarks {
17 class BookmarkBubbleObserver; 17 class BookmarkBubbleObserver;
18 } 18 }
19 19
20 namespace content { 20 namespace content {
21 class WebContents; 21 class WebContents;
22 } 22 }
23 23
24 namespace extensions {
25 class Extension;
26 }
27
24 namespace gfx { 28 namespace gfx {
25 class Point; 29 class Point;
26 } 30 }
27 31
28 namespace security_state { 32 namespace security_state {
29 struct SecurityInfo; 33 struct SecurityInfo;
30 } 34 }
31 35
32 namespace chrome { 36 namespace chrome {
33 37
(...skipping 24 matching lines...) Expand all
58 static void Show(gfx::NativeView parent_view, 62 static void Show(gfx::NativeView parent_view,
59 ContentSettingBubbleModel* model, 63 ContentSettingBubbleModel* model,
60 content::WebContents* web_contents, 64 content::WebContents* web_contents,
61 const gfx::Point& anchor, 65 const gfx::Point& anchor,
62 LocationBarDecoration* decoration); 66 LocationBarDecoration* decoration);
63 67
64 private: 68 private:
65 DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingBubbleViewsBridge); 69 DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingBubbleViewsBridge);
66 }; 70 };
67 71
72 // Shows the toolit-views create chrome app shortcut dialog box.
73 void ShowCreateChromeAppShortcutsDialogViews(
74 gfx::NativeWindow parent_window,
75 Profile* profile,
76 const extensions::Extension* app,
77 const base::Callback<void(bool)>& close_callback);
78
68 } // namespace chrome 79 } // namespace chrome
69 80
70 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_DIALOGS_VIEWS_MAC_H_ 81 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_DIALOGS_VIEWS_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/cocoa/browser_dialogs_views_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698