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

Side by Side Diff: ui/views/controls/tree/tree_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
« no previous file with comments | « ui/views/controls/textfield/textfield_unittest.cc ('k') | ui/views/controls/tree/tree_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef UI_VIEWS_CONTROLS_TREE_TREE_VIEW_VIEWS_H_ 5 #ifndef UI_VIEWS_CONTROLS_TREE_TREE_VIEW_VIEWS_H_
6 #define UI_VIEWS_CONTROLS_TREE_TREE_VIEW_VIEWS_H_ 6 #define UI_VIEWS_CONTROLS_TREE_TREE_VIEW_VIEWS_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 views::Textfield* editor() { return editor_; } 122 views::Textfield* editor() { return editor_; }
123 123
124 // View overrides: 124 // View overrides:
125 void Layout() override; 125 void Layout() override;
126 gfx::Size GetPreferredSize() const override; 126 gfx::Size GetPreferredSize() const override;
127 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; 127 bool AcceleratorPressed(const ui::Accelerator& accelerator) override;
128 bool OnMousePressed(const ui::MouseEvent& event) override; 128 bool OnMousePressed(const ui::MouseEvent& event) override;
129 void OnGestureEvent(ui::GestureEvent* event) override; 129 void OnGestureEvent(ui::GestureEvent* event) override;
130 void ShowContextMenu(const gfx::Point& p, 130 void ShowContextMenu(const gfx::Point& p,
131 ui::MenuSourceType source_type) override; 131 ui::MenuSourceType source_type) override;
132 void GetAccessibleState(ui::AXViewState* state) override; 132 void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
133 const char* GetClassName() const override; 133 const char* GetClassName() const override;
134 134
135 // TreeModelObserver overrides: 135 // TreeModelObserver overrides:
136 void TreeNodesAdded(ui::TreeModel* model, 136 void TreeNodesAdded(ui::TreeModel* model,
137 ui::TreeModelNode* parent, 137 ui::TreeModelNode* parent,
138 int start, 138 int start,
139 int count) override; 139 int count) override;
140 void TreeNodesRemoved(ui::TreeModel* model, 140 void TreeNodesRemoved(ui::TreeModel* model,
141 ui::TreeModelNode* parent, 141 ui::TreeModelNode* parent,
142 int start, 142 int start,
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 int text_offset_; 411 int text_offset_;
412 412
413 std::unique_ptr<PrefixSelector> selector_; 413 std::unique_ptr<PrefixSelector> selector_;
414 414
415 DISALLOW_COPY_AND_ASSIGN(TreeView); 415 DISALLOW_COPY_AND_ASSIGN(TreeView);
416 }; 416 };
417 417
418 } // namespace views 418 } // namespace views
419 419
420 #endif // UI_VIEWS_CONTROLS_TREE_TREE_VIEW_VIEWS_H_ 420 #endif // UI_VIEWS_CONTROLS_TREE_TREE_VIEW_VIEWS_H_
OLDNEW
« no previous file with comments | « ui/views/controls/textfield/textfield_unittest.cc ('k') | ui/views/controls/tree/tree_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698