Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: extensions/browser/app_window/app_window_registry.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « extensions/browser/app_window/app_window_geometry_cache.h ('k') | extensions/browser/extension_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698