OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 VIEWS_FOCUS_EXTERNAL_FOCUS_TRACKER_H_ | 5 #ifndef UI_VIEWS_FOCUS_EXTERNAL_FOCUS_TRACKER_H_ |
6 #define VIEWS_FOCUS_EXTERNAL_FOCUS_TRACKER_H_ | 6 #define UI_VIEWS_FOCUS_EXTERNAL_FOCUS_TRACKER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "views/focus/focus_manager.h" | 9 #include "views/focus/focus_manager.h" |
10 | 10 |
11 namespace views { | 11 namespace views { |
12 | 12 |
13 class View; | 13 class View; |
14 class ViewStorage; | 14 class ViewStorage; |
15 | 15 |
16 // ExternalFocusTracker tracks the last focused view which belongs to the | 16 // ExternalFocusTracker tracks the last focused view which belongs to the |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 68 |
69 // The parent view of views which we should not track focus changes to. We | 69 // The parent view of views which we should not track focus changes to. We |
70 // also do not track changes to parent_view_ itself. | 70 // also do not track changes to parent_view_ itself. |
71 View* parent_view_; | 71 View* parent_view_; |
72 | 72 |
73 DISALLOW_COPY_AND_ASSIGN(ExternalFocusTracker); | 73 DISALLOW_COPY_AND_ASSIGN(ExternalFocusTracker); |
74 }; | 74 }; |
75 | 75 |
76 } // namespace views | 76 } // namespace views |
77 | 77 |
78 #endif // VIEWS_FOCUS_EXTERNAL_FOCUS_TRACKER_H_ | 78 #endif // UI_VIEWS_FOCUS_EXTERNAL_FOCUS_TRACKER_H_ |
OLD | NEW |