| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_DOM_UI_APP_LAUNCHER_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_DOM_UI_APP_LAUNCHER_HANDLER_H_ |
| 6 #define CHROME_BROWSER_DOM_UI_APP_LAUNCHER_HANDLER_H_ | 6 #define CHROME_BROWSER_DOM_UI_APP_LAUNCHER_HANDLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
| 10 #include "chrome/browser/dom_ui/dom_ui.h" | 10 #include "chrome/browser/dom_ui/dom_ui.h" |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 // Monitor extension preference changes so that the DOM UI can be notified. | 87 // Monitor extension preference changes so that the DOM UI can be notified. |
| 88 PrefChangeRegistrar pref_change_registrar_; | 88 PrefChangeRegistrar pref_change_registrar_; |
| 89 | 89 |
| 90 // Used to show confirmation UI for uninstalling/enabling extensions in | 90 // Used to show confirmation UI for uninstalling/enabling extensions in |
| 91 // incognito mode. | 91 // incognito mode. |
| 92 scoped_ptr<ExtensionInstallUI> install_ui_; | 92 scoped_ptr<ExtensionInstallUI> install_ui_; |
| 93 | 93 |
| 94 // The id of the extension we are prompting the user about. | 94 // The id of the extension we are prompting the user about. |
| 95 std::string extension_id_prompting_; | 95 std::string extension_id_prompting_; |
| 96 | 96 |
| 97 // Whether the promo is currently being shown |
| 98 bool promo_active_; |
| 99 |
| 97 DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler); | 100 DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler); |
| 98 }; | 101 }; |
| 99 | 102 |
| 100 #endif // CHROME_BROWSER_DOM_UI_APP_LAUNCHER_HANDLER_H_ | 103 #endif // CHROME_BROWSER_DOM_UI_APP_LAUNCHER_HANDLER_H_ |
| OLD | NEW |