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

Side by Side Diff: chrome/browser/ui/views/tabs/tab_strip.h

Issue 393033006: Added tab notification to accessibility_event_router_views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tab index -1 isn't read Created 6 years, 5 months 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_STRIP_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 const ui::ListSelectionModel& original_selection) OVERRIDE; 225 const ui::ListSelectionModel& original_selection) OVERRIDE;
226 virtual void ContinueDrag(views::View* view, 226 virtual void ContinueDrag(views::View* view,
227 const ui::LocatedEvent& event) OVERRIDE; 227 const ui::LocatedEvent& event) OVERRIDE;
228 virtual bool EndDrag(EndDragReason reason) OVERRIDE; 228 virtual bool EndDrag(EndDragReason reason) OVERRIDE;
229 virtual Tab* GetTabAt(Tab* tab, 229 virtual Tab* GetTabAt(Tab* tab,
230 const gfx::Point& tab_in_tab_coordinates) OVERRIDE; 230 const gfx::Point& tab_in_tab_coordinates) OVERRIDE;
231 virtual void OnMouseEventInTab(views::View* source, 231 virtual void OnMouseEventInTab(views::View* source,
232 const ui::MouseEvent& event) OVERRIDE; 232 const ui::MouseEvent& event) OVERRIDE;
233 virtual bool ShouldPaintTab(const Tab* tab, gfx::Rect* clip) OVERRIDE; 233 virtual bool ShouldPaintTab(const Tab* tab, gfx::Rect* clip) OVERRIDE;
234 virtual bool IsImmersiveStyle() const OVERRIDE; 234 virtual bool IsImmersiveStyle() const OVERRIDE;
235 virtual void UpdateTabAccessibilityState(const Tab* tab,
236 ui::AXViewState* state) OVERRIDE;
235 237
236 // MouseWatcherListener overrides: 238 // MouseWatcherListener overrides:
237 virtual void MouseMovedOutOfHost() OVERRIDE; 239 virtual void MouseMovedOutOfHost() OVERRIDE;
238 240
239 // views::View overrides: 241 // views::View overrides:
240 virtual void Layout() OVERRIDE; 242 virtual void Layout() OVERRIDE;
241 virtual void PaintChildren(gfx::Canvas* canvas, 243 virtual void PaintChildren(gfx::Canvas* canvas,
242 const views::CullSet& cull_set) OVERRIDE; 244 const views::CullSet& cull_set) OVERRIDE;
243 virtual const char* GetClassName() const OVERRIDE; 245 virtual const char* GetClassName() const OVERRIDE;
244 virtual gfx::Size GetPreferredSize() const OVERRIDE; 246 virtual gfx::Size GetPreferredSize() const OVERRIDE;
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 bool immersive_style_; 678 bool immersive_style_;
677 679
678 // Our observers. 680 // Our observers.
679 typedef ObserverList<TabStripObserver> TabStripObservers; 681 typedef ObserverList<TabStripObserver> TabStripObservers;
680 TabStripObservers observers_; 682 TabStripObservers observers_;
681 683
682 DISALLOW_COPY_AND_ASSIGN(TabStrip); 684 DISALLOW_COPY_AND_ASSIGN(TabStrip);
683 }; 685 };
684 686
685 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ 687 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_controller.h ('k') | chrome/browser/ui/views/tabs/tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698