OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_EXTENSIONS_EXTENSION_INSTALL_UI_DEFAULT_H_ | 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_INSTALL_UI_DEFAULT_H_ |
6 #define CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_INSTALL_UI_DEFAULT_H_ | 6 #define CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_INSTALL_UI_DEFAULT_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "extensions/browser/install/extension_install_ui.h" | 10 #include "extensions/browser/install/extension_install_ui.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 void OpenAppInstalledUI(const std::string& app_id) override; | 28 void OpenAppInstalledUI(const std::string& app_id) override; |
29 void SetSkipPostInstallUI(bool skip_ui) override; | 29 void SetSkipPostInstallUI(bool skip_ui) override; |
30 gfx::NativeWindow GetDefaultInstallDialogParent() override; | 30 gfx::NativeWindow GetDefaultInstallDialogParent() override; |
31 | 31 |
32 private: | 32 private: |
33 Profile* profile_; | 33 Profile* profile_; |
34 | 34 |
35 // Whether or not to show the default UI after completing the installation. | 35 // Whether or not to show the default UI after completing the installation. |
36 bool skip_post_install_ui_; | 36 bool skip_post_install_ui_; |
37 | 37 |
38 // Used to undo theme installation. | |
39 std::string previous_theme_id_; | |
40 bool previous_using_system_theme_; | |
41 | |
42 // Whether to show an installed bubble on app install, or use the default | 38 // Whether to show an installed bubble on app install, or use the default |
43 // action of opening a new tab page. | 39 // action of opening a new tab page. |
44 bool use_app_installed_bubble_; | 40 bool use_app_installed_bubble_; |
45 | 41 |
46 DISALLOW_COPY_AND_ASSIGN(ExtensionInstallUIDefault); | 42 DISALLOW_COPY_AND_ASSIGN(ExtensionInstallUIDefault); |
47 }; | 43 }; |
48 | 44 |
49 #endif // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_INSTALL_UI_DEFAULT_H_ | 45 #endif // CHROME_BROWSER_UI_EXTENSIONS_EXTENSION_INSTALL_UI_DEFAULT_H_ |
OLD | NEW |