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

Side by Side Diff: extensions/browser/guest_view/web_view/web_view_guest.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 | « extensions/browser/extension_registry.h ('k') | extensions/browser/process_manager.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 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_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 bool HandleKeyboardShortcuts(const content::NativeWebKeyboardEvent& event); 346 bool HandleKeyboardShortcuts(const content::NativeWebKeyboardEvent& event);
347 347
348 void ApplyAttributes(const base::DictionaryValue& params); 348 void ApplyAttributes(const base::DictionaryValue& params);
349 349
350 // Identifies the set of rules registries belonging to this guest. 350 // Identifies the set of rules registries belonging to this guest.
351 int rules_registry_id_; 351 int rules_registry_id_;
352 352
353 // Handles find requests and replies for the webview find API. 353 // Handles find requests and replies for the webview find API.
354 WebViewFindHelper find_helper_; 354 WebViewFindHelper find_helper_;
355 355
356 ObserverList<ScriptExecutionObserver> script_observers_; 356 base::ObserverList<ScriptExecutionObserver> script_observers_;
357 scoped_ptr<ScriptExecutor> script_executor_; 357 scoped_ptr<ScriptExecutor> script_executor_;
358 358
359 content::NotificationRegistrar notification_registrar_; 359 content::NotificationRegistrar notification_registrar_;
360 360
361 // True if the user agent is overridden. 361 // True if the user agent is overridden.
362 bool is_overriding_user_agent_; 362 bool is_overriding_user_agent_;
363 363
364 // Stores the window name of the main frame of the guest. 364 // Stores the window name of the main frame of the guest.
365 std::string name_; 365 std::string name_;
366 366
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 // This is used to ensure pending tasks will not fire after this object is 406 // This is used to ensure pending tasks will not fire after this object is
407 // destroyed. 407 // destroyed.
408 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; 408 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_;
409 409
410 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); 410 DISALLOW_COPY_AND_ASSIGN(WebViewGuest);
411 }; 411 };
412 412
413 } // namespace extensions 413 } // namespace extensions
414 414
415 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 415 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
OLDNEW
« no previous file with comments | « extensions/browser/extension_registry.h ('k') | extensions/browser/process_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698