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

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

Issue 10828265: Replace views::LocatedEvent with ui::LocatedEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 virtual void ToggleSelected(BaseTab* tab) OVERRIDE; 168 virtual void ToggleSelected(BaseTab* tab) OVERRIDE;
169 virtual void AddSelectionFromAnchorTo(BaseTab* tab) OVERRIDE; 169 virtual void AddSelectionFromAnchorTo(BaseTab* tab) OVERRIDE;
170 virtual void CloseTab(BaseTab* tab) OVERRIDE; 170 virtual void CloseTab(BaseTab* tab) OVERRIDE;
171 virtual void ShowContextMenuForTab(BaseTab* tab, 171 virtual void ShowContextMenuForTab(BaseTab* tab,
172 const gfx::Point& p) OVERRIDE; 172 const gfx::Point& p) OVERRIDE;
173 virtual bool IsActiveTab(const BaseTab* tab) const OVERRIDE; 173 virtual bool IsActiveTab(const BaseTab* tab) const OVERRIDE;
174 virtual bool IsTabSelected(const BaseTab* tab) const OVERRIDE; 174 virtual bool IsTabSelected(const BaseTab* tab) const OVERRIDE;
175 virtual bool IsTabPinned(const BaseTab* tab) const OVERRIDE; 175 virtual bool IsTabPinned(const BaseTab* tab) const OVERRIDE;
176 virtual void MaybeStartDrag( 176 virtual void MaybeStartDrag(
177 BaseTab* tab, 177 BaseTab* tab,
178 const views::LocatedEvent& event, 178 const ui::LocatedEvent& event,
179 const TabStripSelectionModel& original_selection) OVERRIDE; 179 const TabStripSelectionModel& original_selection) OVERRIDE;
180 virtual void ContinueDrag(views::View* view, 180 virtual void ContinueDrag(views::View* view,
181 const gfx::Point& location) OVERRIDE; 181 const gfx::Point& location) OVERRIDE;
182 virtual bool EndDrag(bool canceled) OVERRIDE; 182 virtual bool EndDrag(bool canceled) OVERRIDE;
183 virtual BaseTab* GetTabAt(BaseTab* tab, 183 virtual BaseTab* GetTabAt(BaseTab* tab,
184 const gfx::Point& tab_in_tab_coordinates) OVERRIDE; 184 const gfx::Point& tab_in_tab_coordinates) OVERRIDE;
185 virtual void ClickActiveTab(const BaseTab* tab) const OVERRIDE; 185 virtual void ClickActiveTab(const BaseTab* tab) const OVERRIDE;
186 virtual void OnMouseEventInTab(views::View* source, 186 virtual void OnMouseEventInTab(views::View* source,
187 const views::MouseEvent& event) OVERRIDE; 187 const views::MouseEvent& event) OVERRIDE;
188 virtual bool ShouldPaintTab(const BaseTab* tab, gfx::Rect* clip) OVERRIDE; 188 virtual bool ShouldPaintTab(const BaseTab* tab, gfx::Rect* clip) OVERRIDE;
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 // Time of the last mouse move event. 539 // Time of the last mouse move event.
540 base::TimeTicks last_mouse_move_time_; 540 base::TimeTicks last_mouse_move_time_;
541 541
542 // Number of mouse moves. 542 // Number of mouse moves.
543 int mouse_move_count_; 543 int mouse_move_count_;
544 544
545 DISALLOW_COPY_AND_ASSIGN(TabStrip); 545 DISALLOW_COPY_AND_ASSIGN(TabStrip);
546 }; 546 };
547 547
548 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ 548 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_drag_controller.cc ('k') | chrome/browser/ui/views/tabs/tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698