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 EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_REGISTRY_H_ | 5 #ifndef EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_REGISTRY_H_ |
6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_REGISTRY_H_ | 6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_REGISTRY_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 // Otherwise adds |app_window| to the back of |app_windows_|. | 131 // Otherwise adds |app_window| to the back of |app_windows_|. |
132 void AddAppWindowToList(AppWindow* app_window); | 132 void AddAppWindowToList(AppWindow* app_window); |
133 | 133 |
134 // Bring |app_window| to the front of |app_windows_|. If it is not in the | 134 // Bring |app_window| to the front of |app_windows_|. If it is not in the |
135 // list, add it first. | 135 // list, add it first. |
136 void BringToFront(AppWindow* app_window); | 136 void BringToFront(AppWindow* app_window); |
137 | 137 |
138 content::BrowserContext* context_; | 138 content::BrowserContext* context_; |
139 AppWindowList app_windows_; | 139 AppWindowList app_windows_; |
140 InspectedWindowSet inspected_windows_; | 140 InspectedWindowSet inspected_windows_; |
141 ObserverList<Observer> observers_; | 141 base::ObserverList<Observer> observers_; |
142 base::Callback<void(content::DevToolsAgentHost*, bool)> devtools_callback_; | 142 base::Callback<void(content::DevToolsAgentHost*, bool)> devtools_callback_; |
143 }; | 143 }; |
144 | 144 |
145 } // namespace extensions | 145 } // namespace extensions |
146 | 146 |
147 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_REGISTRY_H_ | 147 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_REGISTRY_H_ |
OLD | NEW |