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

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

Issue 10827271: Replace views::Event with ui::Event. (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
« no previous file with comments | « chrome/browser/ui/views/tabs/base_tab.cc ('k') | chrome/browser/ui/views/tabs/tab_strip.cc » ('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_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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 212
213 void set_ideal_bounds(int index, const gfx::Rect& bounds) { 213 void set_ideal_bounds(int index, const gfx::Rect& bounds) {
214 tabs_.set_ideal_bounds(index, bounds); 214 tabs_.set_ideal_bounds(index, bounds);
215 } 215 }
216 216
217 // Returns the number of mini-tabs. 217 // Returns the number of mini-tabs.
218 int GetMiniTabCount() const; 218 int GetMiniTabCount() const;
219 219
220 // views::ButtonListener implementation: 220 // views::ButtonListener implementation:
221 virtual void ButtonPressed(views::Button* sender, 221 virtual void ButtonPressed(views::Button* sender,
222 const views::Event& event) OVERRIDE; 222 const ui::Event& event) OVERRIDE;
223 223
224 // View overrides. 224 // View overrides.
225 virtual const views::View* GetViewByID(int id) const OVERRIDE; 225 virtual const views::View* GetViewByID(int id) const OVERRIDE;
226 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE; 226 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE;
227 virtual bool OnMouseDragged(const views::MouseEvent& event) OVERRIDE; 227 virtual bool OnMouseDragged(const views::MouseEvent& event) OVERRIDE;
228 virtual void OnMouseReleased(const views::MouseEvent& event) OVERRIDE; 228 virtual void OnMouseReleased(const views::MouseEvent& event) OVERRIDE;
229 virtual void OnMouseCaptureLost() OVERRIDE; 229 virtual void OnMouseCaptureLost() OVERRIDE;
230 virtual void OnMouseMoved(const views::MouseEvent& event) OVERRIDE; 230 virtual void OnMouseMoved(const views::MouseEvent& event) OVERRIDE;
231 virtual ui::GestureStatus OnGestureEvent( 231 virtual ui::GestureStatus OnGestureEvent(
232 const views::GestureEvent& event) OVERRIDE; 232 const views::GestureEvent& event) OVERRIDE;
(...skipping 306 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/base_tab.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