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

Side by Side Diff: chrome/browser/ui/views/tabs/tab_controller.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 | « chrome/browser/ui/views/tabs/tab.cc ('k') | chrome/browser/ui/views/tabs/tab_strip.h » ('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 CHROME_BROWSER_UI_VIEWS_TABS_TAB_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_CONTROLLER_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "chrome/browser/ui/views/tabs/tab_strip_types.h" 9 #include "chrome/browser/ui/views/tabs/tab_strip_types.h"
10 #include "third_party/skia/include/core/SkColor.h" 10 #include "third_party/skia/include/core/SkColor.h"
11 #include "ui/base/ui_base_types.h" 11 #include "ui/base/ui_base_types.h"
12 12
13 class Tab; 13 class Tab;
14 14
15 namespace gfx { 15 namespace gfx {
16 class Path; 16 class Path;
17 class Point; 17 class Point;
18 class Size; 18 class Size;
19 } 19 }
20 namespace ui { 20 namespace ui {
21 struct AXViewState; 21 struct AXNodeData;
22 class ListSelectionModel; 22 class ListSelectionModel;
23 class LocatedEvent; 23 class LocatedEvent;
24 class MouseEvent; 24 class MouseEvent;
25 } 25 }
26 namespace views { 26 namespace views {
27 class View; 27 class View;
28 } 28 }
29 29
30 // Controller for tabs. 30 // Controller for tabs.
31 class TabController { 31 class TabController {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 // state of the window. 120 // state of the window.
121 virtual SkColor GetToolbarTopSeparatorColor() const = 0; 121 virtual SkColor GetToolbarTopSeparatorColor() const = 0;
122 122
123 // Returns the resource ID for the image to use as the tab background. 123 // Returns the resource ID for the image to use as the tab background.
124 // |custom_image| is an outparam set to true if either the tab or the frame 124 // |custom_image| is an outparam set to true if either the tab or the frame
125 // background images have been customized; see implementation comments. 125 // background images have been customized; see implementation comments.
126 virtual int GetBackgroundResourceId(bool* custom_image) const = 0; 126 virtual int GetBackgroundResourceId(bool* custom_image) const = 0;
127 127
128 // Adds private information to the tab's accessibility state. 128 // Adds private information to the tab's accessibility state.
129 virtual void UpdateTabAccessibilityState(const Tab* tab, 129 virtual void UpdateTabAccessibilityState(const Tab* tab,
130 ui::AXViewState* state) = 0; 130 ui::AXNodeData* node_data) = 0;
131 131
132 protected: 132 protected:
133 virtual ~TabController() {} 133 virtual ~TabController() {}
134 }; 134 };
135 135
136 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_CONTROLLER_H_ 136 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab.cc ('k') | chrome/browser/ui/views/tabs/tab_strip.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698