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

Side by Side Diff: chrome/browser/ui/apps/app_info_dialog.h

Issue 306023011: Add new DialogDelegate for dialogs in the App List (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit comment Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_APPS_APP_INFO_DIALOG_H_ 5 #ifndef CHROME_BROWSER_UI_APPS_APP_INFO_DIALOG_H_
6 #define CHROME_BROWSER_UI_APPS_APP_INFO_DIALOG_H_ 6 #define CHROME_BROWSER_UI_APPS_APP_INFO_DIALOG_H_
7 7
8 #include "base/callback_forward.h" 8 class AppListControllerDelegate;
9 #include "ui/gfx/native_widget_types.h"
10
11 class Profile; 9 class Profile;
12 10
13 namespace extensions { 11 namespace extensions {
14 class Extension; 12 class Extension;
15 } 13 }
16 14
17 namespace gfx {
18 class Rect;
19 }
20
21 // Shows the chrome app information dialog box. 15 // Shows the chrome app information dialog box.
22 // |close_callback| may be null. 16 void ShowAppInfoDialog(AppListControllerDelegate* app_list_controller_delegate,
23 void ShowAppInfoDialog(gfx::NativeWindow parent_window,
24 const gfx::Rect& dialog_widget_bounds,
25 Profile* profile, 17 Profile* profile,
26 const extensions::Extension* app, 18 const extensions::Extension* app);
27 const base::Closure& close_callback);
28 19
29 #endif // CHROME_BROWSER_UI_APPS_APP_INFO_DIALOG_H_ 20 #endif // CHROME_BROWSER_UI_APPS_APP_INFO_DIALOG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698