| 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 UI_VIEWS_ACCESSIBLE_PANE_VIEW_H_ | 5 #ifndef UI_VIEWS_ACCESSIBLE_PANE_VIEW_H_ |
| 6 #define UI_VIEWS_ACCESSIBLE_PANE_VIEW_H_ | 6 #define UI_VIEWS_ACCESSIBLE_PANE_VIEW_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 // Set focus to the pane with complete keyboard access, with the | 38 // Set focus to the pane with complete keyboard access, with the |
| 39 // focus initially set to the default child. Focus will be restored | 39 // focus initially set to the default child. Focus will be restored |
| 40 // to the last focused view if the user escapes. | 40 // to the last focused view if the user escapes. |
| 41 // Returns true if the pane was able to receive focus. | 41 // Returns true if the pane was able to receive focus. |
| 42 virtual bool SetPaneFocusAndFocusDefault(); | 42 virtual bool SetPaneFocusAndFocusDefault(); |
| 43 | 43 |
| 44 // Overridden from View: | 44 // Overridden from View: |
| 45 FocusTraversable* GetPaneFocusTraversable() override; | 45 FocusTraversable* GetPaneFocusTraversable() override; |
| 46 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; | 46 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; |
| 47 void SetVisible(bool flag) override; | 47 void SetVisible(bool flag) override; |
| 48 void GetAccessibleState(ui::AXViewState* state) override; | 48 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; |
| 49 void RequestFocus() override; | 49 void RequestFocus() override; |
| 50 | 50 |
| 51 // Overridden from FocusChangeListener: | 51 // Overridden from FocusChangeListener: |
| 52 void OnWillChangeFocus(View* focused_before, View* focused_now) override; | 52 void OnWillChangeFocus(View* focused_before, View* focused_now) override; |
| 53 void OnDidChangeFocus(View* focused_before, View* focused_now) override; | 53 void OnDidChangeFocus(View* focused_before, View* focused_now) override; |
| 54 | 54 |
| 55 // Overridden from FocusTraversable: | 55 // Overridden from FocusTraversable: |
| 56 FocusSearch* GetFocusSearch() override; | 56 FocusSearch* GetFocusSearch() override; |
| 57 FocusTraversable* GetFocusTraversableParent() override; | 57 FocusTraversable* GetFocusTraversableParent() override; |
| 58 View* GetFocusTraversableParentView() override; | 58 View* GetFocusTraversableParentView() override; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 friend class AccessiblePaneViewFocusSearch; | 122 friend class AccessiblePaneViewFocusSearch; |
| 123 | 123 |
| 124 base::WeakPtrFactory<AccessiblePaneView> method_factory_; | 124 base::WeakPtrFactory<AccessiblePaneView> method_factory_; |
| 125 | 125 |
| 126 DISALLOW_COPY_AND_ASSIGN(AccessiblePaneView); | 126 DISALLOW_COPY_AND_ASSIGN(AccessiblePaneView); |
| 127 }; | 127 }; |
| 128 | 128 |
| 129 } // namespace views | 129 } // namespace views |
| 130 | 130 |
| 131 #endif // UI_VIEWS_ACCESSIBLE_PANE_VIEW_H_ | 131 #endif // UI_VIEWS_ACCESSIBLE_PANE_VIEW_H_ |
| OLD | NEW |