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

Side by Side Diff: ios/web/web_state/web_state_impl.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
« no previous file with comments | « ios/web/active_state_manager_impl.h ('k') | ipc/ipc_test_sink.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ 5 #ifndef IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_
6 #define IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ 6 #define IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 // The CRWWebController that backs and owns this object. 276 // The CRWWebController that backs and owns this object.
277 CRWWebController* web_controller_; 277 CRWWebController* web_controller_;
278 278
279 NavigationManagerImpl navigation_manager_; 279 NavigationManagerImpl navigation_manager_;
280 280
281 // |web::WebUIIOS| object for the current page if it is a WebUI page that 281 // |web::WebUIIOS| object for the current page if it is a WebUI page that
282 // uses the web-based WebUI framework, or nullptr otherwise. 282 // uses the web-based WebUI framework, or nullptr otherwise.
283 scoped_ptr<web::WebUIIOS> web_ui_; 283 scoped_ptr<web::WebUIIOS> web_ui_;
284 284
285 // A list of observers notified when page state changes. Weak references. 285 // A list of observers notified when page state changes. Weak references.
286 ObserverList<WebStateObserver, true> observers_; 286 base::ObserverList<WebStateObserver, true> observers_;
287 287
288 // Map of all the HTTP response headers received, for each URL. 288 // Map of all the HTTP response headers received, for each URL.
289 // This map is cleared after each page load, and only the headers of the main 289 // This map is cleared after each page load, and only the headers of the main
290 // page are used. 290 // page are used.
291 std::map<GURL, scoped_refptr<net::HttpResponseHeaders> > 291 std::map<GURL, scoped_refptr<net::HttpResponseHeaders> >
292 response_headers_map_; 292 response_headers_map_;
293 scoped_refptr<net::HttpResponseHeaders> http_response_headers_; 293 scoped_refptr<net::HttpResponseHeaders> http_response_headers_;
294 std::string mime_type_; 294 std::string mime_type_;
295 std::string content_language_header_; 295 std::string content_language_header_;
296 296
(...skipping 16 matching lines...) Expand all
313 313
314 // Callbacks associated to command prefixes. 314 // Callbacks associated to command prefixes.
315 std::map<std::string, ScriptCommandCallback> script_command_callbacks_; 315 std::map<std::string, ScriptCommandCallback> script_command_callbacks_;
316 316
317 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); 317 DISALLOW_COPY_AND_ASSIGN(WebStateImpl);
318 }; 318 };
319 319
320 } // namespace web 320 } // namespace web
321 321
322 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ 322 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_
OLDNEW
« no previous file with comments | « ios/web/active_state_manager_impl.h ('k') | ipc/ipc_test_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698