| 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 "chrome/browser/dom_ui/dom_ui.h" | 9 #include "chrome/browser/dom_ui/dom_ui.h" |
| 10 #include "chrome/common/notification_observer.h" |
| 10 #include "chrome/common/notification_registrar.h" | 11 #include "chrome/common/notification_registrar.h" |
| 11 | 12 |
| 12 class Extension; | 13 class Extension; |
| 13 class ExtensionsService; | 14 class ExtensionsService; |
| 14 | 15 |
| 15 namespace gfx { | 16 namespace gfx { |
| 16 class Rect; | 17 class Rect; |
| 17 } | 18 } |
| 18 | 19 |
| 19 // The handler for Javascript messages related to the "apps" view. | 20 // The handler for Javascript messages related to the "apps" view. |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 scoped_refptr<ExtensionsService> extensions_service_; | 54 scoped_refptr<ExtensionsService> extensions_service_; |
| 54 | 55 |
| 55 // We monitor changes to the extension system so that we can reload the apps | 56 // We monitor changes to the extension system so that we can reload the apps |
| 56 // when necessary. | 57 // when necessary. |
| 57 NotificationRegistrar registrar_; | 58 NotificationRegistrar registrar_; |
| 58 | 59 |
| 59 DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler); | 60 DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler); |
| 60 }; | 61 }; |
| 61 | 62 |
| 62 #endif // CHROME_BROWSER_DOM_UI_APP_LAUNCHER_HANDLER_H_ | 63 #endif // CHROME_BROWSER_DOM_UI_APP_LAUNCHER_HANDLER_H_ |
| OLD | NEW |