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

Side by Side Diff: ui/views/focus/focus_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 | « ui/views/controls/menu/native_menu_win.h ('k') | ui/views/focus/widget_focus_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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_VIEWS_FOCUS_FOCUS_MANAGER_H_ 5 #ifndef UI_VIEWS_FOCUS_FOCUS_MANAGER_H_
6 #define UI_VIEWS_FOCUS_FOCUS_MANAGER_H_ 6 #define UI_VIEWS_FOCUS_FOCUS_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 10
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 bool shortcut_handling_suspended_; 364 bool shortcut_handling_suspended_;
365 365
366 // The storage id used in the ViewStorage to store/restore the view that last 366 // The storage id used in the ViewStorage to store/restore the view that last
367 // had focus. 367 // had focus.
368 int stored_focused_view_storage_id_; 368 int stored_focused_view_storage_id_;
369 369
370 // The reason why the focus most recently changed. 370 // The reason why the focus most recently changed.
371 FocusChangeReason focus_change_reason_; 371 FocusChangeReason focus_change_reason_;
372 372
373 // The list of registered FocusChange listeners. 373 // The list of registered FocusChange listeners.
374 ObserverList<FocusChangeListener, true> focus_change_listeners_; 374 base::ObserverList<FocusChangeListener, true> focus_change_listeners_;
375 375
376 // See description above getter. 376 // See description above getter.
377 bool is_changing_focus_; 377 bool is_changing_focus_;
378 378
379 DISALLOW_COPY_AND_ASSIGN(FocusManager); 379 DISALLOW_COPY_AND_ASSIGN(FocusManager);
380 }; 380 };
381 381
382 } // namespace views 382 } // namespace views
383 383
384 #endif // UI_VIEWS_FOCUS_FOCUS_MANAGER_H_ 384 #endif // UI_VIEWS_FOCUS_FOCUS_MANAGER_H_
OLDNEW
« no previous file with comments | « ui/views/controls/menu/native_menu_win.h ('k') | ui/views/focus/widget_focus_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698