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

Unified Diff: ui/views/controls/textfield/native_textfield_views.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 | « ui/views/controls/table/table_view_views.cc ('k') | ui/views/controls/textfield/native_textfield_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/native_textfield_views.h
===================================================================
--- ui/views/controls/textfield/native_textfield_views.h (revision 151406)
+++ ui/views/controls/textfield/native_textfield_views.h (working copy)
@@ -52,10 +52,10 @@
virtual ~NativeTextfieldViews();
// View overrides:
- virtual gfx::NativeCursor GetCursor(const MouseEvent& event) OVERRIDE;
- virtual bool OnMousePressed(const MouseEvent& event) OVERRIDE;
- virtual bool OnMouseDragged(const MouseEvent& event) OVERRIDE;
- virtual void OnMouseReleased(const MouseEvent& event) OVERRIDE;
+ virtual gfx::NativeCursor GetCursor(const ui::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 ui::GestureStatus OnGestureEvent(const GestureEvent& event) OVERRIDE;
virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE;
virtual bool GetDropFormats(
@@ -231,17 +231,17 @@
bool Paste();
// Tracks the mouse clicks for single/double/triple clicks.
- void TrackMouseClicks(const MouseEvent& event);
+ void TrackMouseClicks(const ui::MouseEvent& event);
// Handles mouse press events.
- void HandleMousePressEvent(const MouseEvent& event);
+ void HandleMousePressEvent(const ui::MouseEvent& event);
// Returns true if the current text input type allows access by the IME.
bool ImeEditingAllowed() const;
// Returns true if distance between |event| and |last_click_location_|
// exceeds the drag threshold.
- bool ExceededDragThresholdFromLastClickLocation(const MouseEvent& event);
+ bool ExceededDragThresholdFromLastClickLocation(const ui::MouseEvent& event);
// Checks if a char is ok to be inserted into the textfield. The |ch| is a
// modified character, i.e., modifiers took effect when generating this char.
« no previous file with comments | « ui/views/controls/table/table_view_views.cc ('k') | ui/views/controls/textfield/native_textfield_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698