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

Side by Side Diff: ash/wm/dock/docked_window_layout_manager.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 | « ash/test/test_shell_delegate.h ('k') | ash/wm/lock_state_controller.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ 5 #ifndef ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_
6 #define ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ 6 #define ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/shelf/shelf_layout_manager_observer.h" 9 #include "ash/shelf/shelf_layout_manager_observer.h"
10 #include "ash/shell_observer.h" 10 #include "ash/shell_observer.h"
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 // Used in UMA metrics. 317 // Used in UMA metrics.
318 base::Time last_action_time_; 318 base::Time last_action_time_;
319 319
320 // Observes shelf for bounds changes. 320 // Observes shelf for bounds changes.
321 scoped_ptr<ShelfWindowObserver> shelf_observer_; 321 scoped_ptr<ShelfWindowObserver> shelf_observer_;
322 322
323 // Widget used to paint a background for the docked area. 323 // Widget used to paint a background for the docked area.
324 scoped_ptr<DockedBackgroundWidget> background_widget_; 324 scoped_ptr<DockedBackgroundWidget> background_widget_;
325 325
326 // Observers of dock bounds changes. 326 // Observers of dock bounds changes.
327 ObserverList<DockedWindowLayoutManagerObserver> observer_list_; 327 base::ObserverList<DockedWindowLayoutManagerObserver> observer_list_;
328 328
329 DISALLOW_COPY_AND_ASSIGN(DockedWindowLayoutManager); 329 DISALLOW_COPY_AND_ASSIGN(DockedWindowLayoutManager);
330 }; 330 };
331 331
332 } // namespace ash 332 } // namespace ash
333 333
334 #endif // ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ 334 #endif // ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | ash/wm/lock_state_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698