OLD | NEW |
---|---|
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.h" | 8 #include "base/callback_forward.h" |
9 #include "ui/gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
10 | 10 |
11 class Profile; | 11 class Profile; |
12 | 12 |
13 namespace extensions { | 13 namespace extensions { |
14 class Extension; | 14 class Extension; |
15 } | 15 } |
16 namespace gfx { | |
tapted
2014/05/23 02:09:21
nit: blank line before
sashab
2014/05/23 06:10:21
Done.
| |
17 class Rect; | |
18 } | |
16 | 19 |
17 // Shows the chrome app information dialog box. | 20 // Shows the chrome app information dialog box. |
18 // |close_callback| may be null. | 21 // |close_callback| may be null. |
19 void ShowAppInfoDialog(gfx::NativeWindow parent_window, | 22 void ShowAppInfoDialog(gfx::NativeWindow parent_window, |
23 gfx::Rect dialog_widget_bounds, | |
tapted
2014/05/23 02:09:21
nit: const gfx::Rect& dialog_widget_bounds,
sashab
2014/05/23 06:10:21
Done.
| |
20 Profile* profile, | 24 Profile* profile, |
21 const extensions::Extension* app, | 25 const extensions::Extension* app, |
22 const base::Closure& close_callback); | 26 const base::Closure& close_callback); |
23 | 27 |
24 #endif // CHROME_BROWSER_UI_APPS_APP_INFO_DIALOG_H_ | 28 #endif // CHROME_BROWSER_UI_APPS_APP_INFO_DIALOG_H_ |
OLD | NEW |