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 #include "ui/views/accessible_pane_view.h" | 5 #include "ui/views/accessible_pane_view.h" |
6 | 6 |
| 7 #include "base/macros.h" |
7 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
8 #include "ui/accessibility/ax_view_state.h" | 9 #include "ui/accessibility/ax_view_state.h" |
9 #include "ui/views/focus/focus_search.h" | 10 #include "ui/views/focus/focus_search.h" |
10 #include "ui/views/focus/view_storage.h" | 11 #include "ui/views/focus/view_storage.h" |
11 #include "ui/views/widget/widget.h" | 12 #include "ui/views/widget/widget.h" |
12 | 13 |
13 namespace views { | 14 namespace views { |
14 | 15 |
15 // Create tiny subclass of FocusSearch that overrides GetParent and Contains, | 16 // Create tiny subclass of FocusSearch that overrides GetParent and Contains, |
16 // delegating these to methods in AccessiblePaneView. This is needed so that | 17 // delegating these to methods in AccessiblePaneView. This is needed so that |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 DCHECK(pane_has_focus_); | 254 DCHECK(pane_has_focus_); |
254 return NULL; | 255 return NULL; |
255 } | 256 } |
256 | 257 |
257 views::View* AccessiblePaneView::GetFocusTraversableParentView() { | 258 views::View* AccessiblePaneView::GetFocusTraversableParentView() { |
258 DCHECK(pane_has_focus_); | 259 DCHECK(pane_has_focus_); |
259 return NULL; | 260 return NULL; |
260 } | 261 } |
261 | 262 |
262 } // namespace views | 263 } // namespace views |
OLD | NEW |