OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_APPS_APP_SHIM_EXTENSION_APP_SHIM_HANDLER_MAC_H_ | 5 #ifndef CHROME_BROWSER_APPS_APP_SHIM_EXTENSION_APP_SHIM_HANDLER_MAC_H_ |
6 #define CHROME_BROWSER_APPS_APP_SHIM_EXTENSION_APP_SHIM_HANDLER_MAC_H_ | 6 #define CHROME_BROWSER_APPS_APP_SHIM_EXTENSION_APP_SHIM_HANDLER_MAC_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "apps/app_lifetime_monitor.h" | 13 #include "apps/app_lifetime_monitor.h" |
| 14 #include "base/macros.h" |
14 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
16 #include "chrome/browser/apps/app_shim/app_shim_handler_mac.h" | 17 #include "chrome/browser/apps/app_shim/app_shim_handler_mac.h" |
17 #include "chrome/browser/ui/browser.h" | 18 #include "chrome/browser/ui/browser.h" |
18 #include "chrome/browser/ui/browser_list_observer.h" | 19 #include "chrome/browser/ui/browser_list_observer.h" |
19 #include "content/public/browser/notification_observer.h" | 20 #include "content/public/browser/notification_observer.h" |
20 #include "content/public/browser/notification_registrar.h" | 21 #include "content/public/browser/notification_registrar.h" |
21 #include "extensions/browser/app_window/app_window_registry.h" | 22 #include "extensions/browser/app_window/app_window_registry.h" |
22 | 23 |
23 class Profile; | 24 class Profile; |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 content::NotificationRegistrar registrar_; | 193 content::NotificationRegistrar registrar_; |
193 | 194 |
194 base::WeakPtrFactory<ExtensionAppShimHandler> weak_factory_; | 195 base::WeakPtrFactory<ExtensionAppShimHandler> weak_factory_; |
195 | 196 |
196 DISALLOW_COPY_AND_ASSIGN(ExtensionAppShimHandler); | 197 DISALLOW_COPY_AND_ASSIGN(ExtensionAppShimHandler); |
197 }; | 198 }; |
198 | 199 |
199 } // namespace apps | 200 } // namespace apps |
200 | 201 |
201 #endif // CHROME_BROWSER_APPS_APP_SHIM_EXTENSION_APP_SHIM_HANDLER_MAC_H_ | 202 #endif // CHROME_BROWSER_APPS_APP_SHIM_EXTENSION_APP_SHIM_HANDLER_MAC_H_ |
OLD | NEW |