OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 APPS_APP_WINDOW_REGISTRY_H_ | 5 #ifndef APPS_APP_WINDOW_REGISTRY_H_ |
6 #define APPS_APP_WINDOW_REGISTRY_H_ | 6 #define APPS_APP_WINDOW_REGISTRY_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
| 9 #include <string> |
| 10 #include <set> |
9 | 11 |
10 #include "base/callback.h" | 12 #include "base/callback.h" |
11 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
12 #include "base/memory/singleton.h" | 14 #include "base/memory/singleton.h" |
13 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
14 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | 16 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" |
15 #include "components/keyed_service/core/keyed_service.h" | 17 #include "components/keyed_service/core/keyed_service.h" |
16 #include "ui/gfx/native_widget_types.h" | 18 #include "ui/gfx/native_widget_types.h" |
17 | 19 |
18 namespace content { | 20 namespace content { |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 content::BrowserContext* context_; | 151 content::BrowserContext* context_; |
150 AppWindowList app_windows_; | 152 AppWindowList app_windows_; |
151 InspectedWindowSet inspected_windows_; | 153 InspectedWindowSet inspected_windows_; |
152 ObserverList<Observer> observers_; | 154 ObserverList<Observer> observers_; |
153 base::Callback<void(content::DevToolsAgentHost*, bool)> devtools_callback_; | 155 base::Callback<void(content::DevToolsAgentHost*, bool)> devtools_callback_; |
154 }; | 156 }; |
155 | 157 |
156 } // namespace apps | 158 } // namespace apps |
157 | 159 |
158 #endif // APPS_APP_WINDOW_REGISTRY_H_ | 160 #endif // APPS_APP_WINDOW_REGISTRY_H_ |
OLD | NEW |