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

Side by Side Diff: chrome/browser/ui/views/tabs/tab.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) 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_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_H_
7 7
8 #include <list> 8 #include <list>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 base::string16* tooltip) const override; 207 base::string16* tooltip) const override;
208 bool GetTooltipTextOrigin(const gfx::Point& p, 208 bool GetTooltipTextOrigin(const gfx::Point& p,
209 gfx::Point* origin) const override; 209 gfx::Point* origin) const override;
210 bool OnMousePressed(const ui::MouseEvent& event) override; 210 bool OnMousePressed(const ui::MouseEvent& event) override;
211 bool OnMouseDragged(const ui::MouseEvent& event) override; 211 bool OnMouseDragged(const ui::MouseEvent& event) override;
212 void OnMouseReleased(const ui::MouseEvent& event) override; 212 void OnMouseReleased(const ui::MouseEvent& event) override;
213 void OnMouseCaptureLost() override; 213 void OnMouseCaptureLost() override;
214 void OnMouseEntered(const ui::MouseEvent& event) override; 214 void OnMouseEntered(const ui::MouseEvent& event) override;
215 void OnMouseMoved(const ui::MouseEvent& event) override; 215 void OnMouseMoved(const ui::MouseEvent& event) override;
216 void OnMouseExited(const ui::MouseEvent& event) override; 216 void OnMouseExited(const ui::MouseEvent& event) override;
217 void GetAccessibleState(ui::AXViewState* state) override; 217 void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
218 218
219 // ui::EventHandler: 219 // ui::EventHandler:
220 void OnGestureEvent(ui::GestureEvent* event) override; 220 void OnGestureEvent(ui::GestureEvent* event) override;
221 221
222 // Invoked from Layout to adjust the position of the favicon or alert 222 // Invoked from Layout to adjust the position of the favicon or alert
223 // indicator for pinned tabs. 223 // indicator for pinned tabs.
224 void MaybeAdjustLeftForPinnedTab(gfx::Rect* bounds) const; 224 void MaybeAdjustLeftForPinnedTab(gfx::Rect* bounds) const;
225 225
226 // Invoked from SetData after |data_| has been updated to the new data. 226 // Invoked from SetData after |data_| has been updated to the new data.
227 void DataChanged(const TabRendererData& old); 227 void DataChanged(const TabRendererData& old);
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 362
363 // The favicon for the tab. This might be the sad tab icon or a copy of 363 // The favicon for the tab. This might be the sad tab icon or a copy of
364 // data().favicon and may be modified for theming. It is created on demand 364 // data().favicon and may be modified for theming. It is created on demand
365 // and thus may be null. 365 // and thus may be null.
366 gfx::ImageSkia favicon_; 366 gfx::ImageSkia favicon_;
367 367
368 DISALLOW_COPY_AND_ASSIGN(Tab); 368 DISALLOW_COPY_AND_ASSIGN(Tab);
369 }; 369 };
370 370
371 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_H_ 371 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_views.cc ('k') | chrome/browser/ui/views/tabs/tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698