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

Unified Diff: chrome/browser/ui/views/tabs/tab_strip.h

Issue 10832282: Replace views::MouseEvent with ui::MouseEvent (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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/tab_strip.h
===================================================================
--- chrome/browser/ui/views/tabs/tab_strip.h (revision 151406)
+++ chrome/browser/ui/views/tabs/tab_strip.h (working copy)
@@ -184,7 +184,7 @@
const gfx::Point& tab_in_tab_coordinates) OVERRIDE;
virtual void ClickActiveTab(const BaseTab* tab) const OVERRIDE;
virtual void OnMouseEventInTab(views::View* source,
- const views::MouseEvent& event) OVERRIDE;
+ const ui::MouseEvent& event) OVERRIDE;
virtual bool ShouldPaintTab(const BaseTab* tab, gfx::Rect* clip) OVERRIDE;
virtual bool IsInstantExtendedAPIEnabled() OVERRIDE;
@@ -223,11 +223,11 @@
// View overrides.
virtual const views::View* GetViewByID(int id) const OVERRIDE;
- virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE;
- virtual bool OnMouseDragged(const views::MouseEvent& event) OVERRIDE;
- virtual void OnMouseReleased(const views::MouseEvent& event) OVERRIDE;
+ virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE;
+ virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE;
+ virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE;
virtual void OnMouseCaptureLost() OVERRIDE;
- virtual void OnMouseMoved(const views::MouseEvent& event) OVERRIDE;
+ virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE;
virtual ui::GestureStatus OnGestureEvent(
const views::GestureEvent& event) OVERRIDE;
@@ -362,7 +362,7 @@
// Invoked when a mouse event occurs over |source|. Potentially switches the
// layout type.
void UpdateLayoutTypeFromMouseEvent(views::View* source,
- const views::MouseEvent& event);
+ const ui::MouseEvent& event);
// -- Tab Resize Layout -----------------------------------------------------
« 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