OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |