Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Side by Side Diff: ui/views/accessible_pane_view.h

Issue 2477463003: Replace ui::AXViewState with AXNodeData and AXActionData (Closed)
Patch Set: Fix test Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « ui/views/accessibility/native_view_accessibility_win.cc ('k') | ui/views/accessible_pane_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698