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

Side by Side Diff: ui/views/controls/tabbed_pane/tabbed_pane.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/slider.cc ('k') | ui/views/controls/tabbed_pane/tabbed_pane.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_TABBED_PANE_TABBED_PANE_H_ 5 #ifndef UI_VIEWS_CONTROLS_TABBED_PANE_TABBED_PANE_H_
6 #define UI_VIEWS_CONTROLS_TABBED_PANE_TABBED_PANE_H_ 6 #define UI_VIEWS_CONTROLS_TABBED_PANE_TABBED_PANE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // and positive delta means rightwards. Returns whether the selection could be 77 // and positive delta means rightwards. Returns whether the selection could be
78 // moved by that amount; the only way this can fail is if there is only one 78 // moved by that amount; the only way this can fail is if there is only one
79 // tab. 79 // tab.
80 bool MoveSelectionBy(int delta); 80 bool MoveSelectionBy(int delta);
81 81
82 // Overridden from View: 82 // Overridden from View:
83 void Layout() override; 83 void Layout() override;
84 void ViewHierarchyChanged( 84 void ViewHierarchyChanged(
85 const ViewHierarchyChangedDetails& details) override; 85 const ViewHierarchyChangedDetails& details) override;
86 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; 86 bool AcceleratorPressed(const ui::Accelerator& accelerator) override;
87 void GetAccessibleState(ui::AXViewState* state) override; 87 void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
88 88
89 // A listener notified when tab selection changes. Weak, not owned. 89 // A listener notified when tab selection changes. Weak, not owned.
90 TabbedPaneListener* listener_; 90 TabbedPaneListener* listener_;
91 91
92 // The tab strip and contents container. The child indices of these members 92 // The tab strip and contents container. The child indices of these members
93 // correspond to match each Tab with its respective content View. 93 // correspond to match each Tab with its respective content View.
94 TabStrip* tab_strip_; 94 TabStrip* tab_strip_;
95 View* contents_; 95 View* contents_;
96 96
97 // The selected tab index or -1 if invalid. 97 // The selected tab index or -1 if invalid.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 TabState tab_state_; 146 TabState tab_state_;
147 // The content view associated with this tab. 147 // The content view associated with this tab.
148 View* contents_; 148 View* contents_;
149 149
150 DISALLOW_COPY_AND_ASSIGN(Tab); 150 DISALLOW_COPY_AND_ASSIGN(Tab);
151 }; 151 };
152 152
153 } // namespace views 153 } // namespace views
154 154
155 #endif // UI_VIEWS_CONTROLS_TABBED_PANE_TABBED_PANE_H_ 155 #endif // UI_VIEWS_CONTROLS_TABBED_PANE_TABBED_PANE_H_
OLDNEW
« no previous file with comments | « ui/views/controls/slider.cc ('k') | ui/views/controls/tabbed_pane/tabbed_pane.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698