| 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_EXTENSIONS_EXTENSION_INSTALL_UI_DEFAULT_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_DEFAULT_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_DEFAULT_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_DEFAULT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/extensions/extension_install_ui.h" | 9 #include "chrome/browser/extensions/extension_install_ui.h" |
| 10 | 10 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 Profile* profile); | 33 Profile* profile); |
| 34 | 34 |
| 35 // Returns the delegate to control the browser's info bar. This is | 35 // Returns the delegate to control the browser's info bar. This is |
| 36 // within its own function due to its platform-specific nature. | 36 // within its own function due to its platform-specific nature. |
| 37 static InfoBarDelegate* GetNewThemeInstalledInfoBarDelegate( | 37 static InfoBarDelegate* GetNewThemeInstalledInfoBarDelegate( |
| 38 TabContents* tab_contents, | 38 TabContents* tab_contents, |
| 39 const extensions::Extension* new_theme, | 39 const extensions::Extension* new_theme, |
| 40 const std::string& previous_theme_id, | 40 const std::string& previous_theme_id, |
| 41 bool previous_using_native_theme); | 41 bool previous_using_native_theme); |
| 42 | 42 |
| 43 Browser* browser_; | |
| 44 | |
| 45 // Whether or not to show the default UI after completing the installation. | 43 // Whether or not to show the default UI after completing the installation. |
| 46 bool skip_post_install_ui_; | 44 bool skip_post_install_ui_; |
| 47 | 45 |
| 48 // Used to undo theme installation. | 46 // Used to undo theme installation. |
| 49 std::string previous_theme_id_; | 47 std::string previous_theme_id_; |
| 50 bool previous_using_native_theme_; | 48 bool previous_using_native_theme_; |
| 51 | 49 |
| 52 // Whether to show an installed bubble on app install, or use the default | 50 // Whether to show an installed bubble on app install, or use the default |
| 53 // action of opening a new tab page. | 51 // action of opening a new tab page. |
| 54 bool use_app_installed_bubble_; | 52 bool use_app_installed_bubble_; |
| 55 | 53 |
| 56 DISALLOW_IMPLICIT_CONSTRUCTORS(ExtensionInstallUIDefault); | 54 DISALLOW_IMPLICIT_CONSTRUCTORS(ExtensionInstallUIDefault); |
| 57 }; | 55 }; |
| 58 | 56 |
| 59 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_DEFAULT_H_ | 57 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_DEFAULT_H_ |
| OLD | NEW |