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 class AppListControllerDelegate; | 8 class AppListControllerDelegate; |
9 class Profile; | 9 class Profile; |
10 | 10 |
11 namespace extensions { | 11 namespace extensions { |
12 class Extension; | 12 class Extension; |
13 } | 13 } |
14 | 14 |
| 15 // Used for UMA to track where the App Info dialog is launched from. |
| 16 enum AppInfoDialogLaunchSource { |
| 17 FROM_APP_LIST, // Launched from the app list context menu. |
| 18 NUM_LAUNCH_SOURCES |
| 19 }; |
| 20 |
15 // Shows the chrome app information dialog box. | 21 // Shows the chrome app information dialog box. |
16 void ShowAppInfoDialog(AppListControllerDelegate* app_list_controller_delegate, | 22 void ShowAppInfoDialog(AppListControllerDelegate* app_list_controller_delegate, |
17 Profile* profile, | 23 Profile* profile, |
18 const extensions::Extension* app); | 24 const extensions::Extension* app); |
19 | 25 |
20 #endif // CHROME_BROWSER_UI_APPS_APP_INFO_DIALOG_H_ | 26 #endif // CHROME_BROWSER_UI_APPS_APP_INFO_DIALOG_H_ |
OLD | NEW |