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_VIEWS_APPS_APP_INFO_DIALOG_APP_INFO_DIALOG_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_APP_INFO_DIALOG_APP_INFO_DIALOG_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_APPS_APP_INFO_DIALOG_APP_INFO_DIALOG_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_APPS_APP_INFO_DIALOG_APP_INFO_DIALOG_VIEWS_H_ |
7 | 7 |
8 #include "extensions/browser/extension_registry_observer.h" | 8 #include "extensions/browser/extension_registry_observer.h" |
9 #include "ui/gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
10 #include "ui/views/view.h" | 10 #include "ui/views/view.h" |
(...skipping 23 matching lines...) Expand all Loading... |
34 // Closes the dialog. | 34 // Closes the dialog. |
35 void Close(); | 35 void Close(); |
36 | 36 |
37 void StartObservingExtensionRegistry(); | 37 void StartObservingExtensionRegistry(); |
38 void StopObservingExtensionRegistry(); | 38 void StopObservingExtensionRegistry(); |
39 | 39 |
40 // Overridden from extensions::ExtensionRegistryObserver: | 40 // Overridden from extensions::ExtensionRegistryObserver: |
41 virtual void OnExtensionUninstalled( | 41 virtual void OnExtensionUninstalled( |
42 content::BrowserContext* browser_context, | 42 content::BrowserContext* browser_context, |
43 const extensions::Extension* extension, | 43 const extensions::Extension* extension, |
44 extensions::UninstallReason reason) OVERRIDE; | 44 extensions::UninstallReason reason) override; |
45 virtual void OnShutdown(extensions::ExtensionRegistry* registry) OVERRIDE; | 45 virtual void OnShutdown(extensions::ExtensionRegistry* registry) override; |
46 | 46 |
47 // UI elements of the dialog. | 47 // UI elements of the dialog. |
48 views::View* dialog_header_; | 48 views::View* dialog_header_; |
49 views::ScrollView* dialog_body_; | 49 views::ScrollView* dialog_body_; |
50 views::View* dialog_footer_; | 50 views::View* dialog_footer_; |
51 | 51 |
52 Profile* profile_; | 52 Profile* profile_; |
53 std::string app_id_; | 53 std::string app_id_; |
54 extensions::ExtensionRegistry* extension_registry_; | 54 extensions::ExtensionRegistry* extension_registry_; |
55 | 55 |
56 DISALLOW_COPY_AND_ASSIGN(AppInfoDialog); | 56 DISALLOW_COPY_AND_ASSIGN(AppInfoDialog); |
57 }; | 57 }; |
58 | 58 |
59 #endif // CHROME_BROWSER_UI_VIEWS_APPS_APP_INFO_DIALOG_APP_INFO_DIALOG_VIEWS_H_ | 59 #endif // CHROME_BROWSER_UI_VIEWS_APPS_APP_INFO_DIALOG_APP_INFO_DIALOG_VIEWS_H_ |
OLD | NEW |