OLD | NEW |
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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 virtual bool IsImmersiveStyle() const OVERRIDE; | 210 virtual bool IsImmersiveStyle() const OVERRIDE; |
211 | 211 |
212 // MouseWatcherListener overrides: | 212 // MouseWatcherListener overrides: |
213 virtual void MouseMovedOutOfHost() OVERRIDE; | 213 virtual void MouseMovedOutOfHost() OVERRIDE; |
214 | 214 |
215 // views::View overrides: | 215 // views::View overrides: |
216 virtual void Layout() OVERRIDE; | 216 virtual void Layout() OVERRIDE; |
217 virtual void PaintChildren(gfx::Canvas* canvas, | 217 virtual void PaintChildren(gfx::Canvas* canvas, |
218 const views::CullSet& cull_set) OVERRIDE; | 218 const views::CullSet& cull_set) OVERRIDE; |
219 virtual const char* GetClassName() const OVERRIDE; | 219 virtual const char* GetClassName() const OVERRIDE; |
220 virtual gfx::Size GetPreferredSize() OVERRIDE; | 220 virtual gfx::Size GetPreferredSize() const OVERRIDE; |
221 // NOTE: the drag and drop methods are invoked from FrameView. This is done | 221 // NOTE: the drag and drop methods are invoked from FrameView. This is done |
222 // to allow for a drop region that extends outside the bounds of the TabStrip. | 222 // to allow for a drop region that extends outside the bounds of the TabStrip. |
223 virtual void OnDragEntered(const ui::DropTargetEvent& event) OVERRIDE; | 223 virtual void OnDragEntered(const ui::DropTargetEvent& event) OVERRIDE; |
224 virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE; | 224 virtual int OnDragUpdated(const ui::DropTargetEvent& event) OVERRIDE; |
225 virtual void OnDragExited() OVERRIDE; | 225 virtual void OnDragExited() OVERRIDE; |
226 virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE; | 226 virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE; |
227 virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; | 227 virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; |
228 virtual views::View* GetEventHandlerForRect(const gfx::Rect& rect) OVERRIDE; | 228 virtual views::View* GetEventHandlerForRect(const gfx::Rect& rect) OVERRIDE; |
229 virtual views::View* GetTooltipHandlerForPoint( | 229 virtual views::View* GetTooltipHandlerForPoint( |
230 const gfx::Point& point) OVERRIDE; | 230 const gfx::Point& point) OVERRIDE; |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 bool immersive_style_; | 637 bool immersive_style_; |
638 | 638 |
639 // Our observers. | 639 // Our observers. |
640 typedef ObserverList<TabStripObserver> TabStripObservers; | 640 typedef ObserverList<TabStripObserver> TabStripObservers; |
641 TabStripObservers observers_; | 641 TabStripObservers observers_; |
642 | 642 |
643 DISALLOW_COPY_AND_ASSIGN(TabStrip); | 643 DISALLOW_COPY_AND_ASSIGN(TabStrip); |
644 }; | 644 }; |
645 | 645 |
646 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ | 646 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ |
OLD | NEW |