Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "chrome/browser/extensions/extension_app_api.h" | 10 #include "chrome/browser/extensions/extension_app_api.h" |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 183 // The id of the extension we are prompting the user about. | 183 // The id of the extension we are prompting the user about. |
| 184 std::string extension_id_prompting_; | 184 std::string extension_id_prompting_; |
| 185 | 185 |
| 186 // Whether the promo is currently being shown. | 186 // Whether the promo is currently being shown. |
| 187 bool promo_active_; | 187 bool promo_active_; |
| 188 | 188 |
| 189 // When true, we ignore changes to the underlying data rather than immediately | 189 // When true, we ignore changes to the underlying data rather than immediately |
| 190 // refreshing. This is useful when making many batch updates to avoid flicker. | 190 // refreshing. This is useful when making many batch updates to avoid flicker. |
| 191 bool ignore_changes_; | 191 bool ignore_changes_; |
| 192 | 192 |
| 193 // When true, we have attempted to install a bookmark app, and are still | |
| 194 // waiting to here about success or failure from the extensions system. | |
|
Rick Byers
2011/08/23 20:52:13
s/here/hear
Evan Stade
2011/08/25 03:08:56
Done.
| |
| 195 bool attempted_bookmark_app_install_; | |
| 196 | |
| 193 // Hold state for favicon requests. | 197 // Hold state for favicon requests. |
| 194 CancelableRequestConsumerTSimple<AppInstallInfo*> favicon_consumer_; | 198 CancelableRequestConsumerTSimple<AppInstallInfo*> favicon_consumer_; |
| 195 | 199 |
| 196 DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler); | 200 DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler); |
| 197 }; | 201 }; |
| 198 | 202 |
| 199 #endif // CHROME_BROWSER_UI_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_ | 203 #endif // CHROME_BROWSER_UI_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_ |
| OLD | NEW |