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