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

Unified Diff: ui/views/events/event.h

Issue 10154005: views: Some code cleanup: touch-events are not used to generate mouse-events anymore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « no previous file | ui/views/events/event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/events/event.h
diff --git a/ui/views/events/event.h b/ui/views/events/event.h
index 7574771071cc6ca148eea72e68dd2779aeb61922..46a9e2be41988b1134aa4a6e1bb85ae7aebee0f0 100644
--- a/ui/views/events/event.h
+++ b/ui/views/events/event.h
@@ -142,8 +142,6 @@ class VIEWS_EXPORT LocatedEvent : public Event {
gfx::Point location_;
};
-class TouchEvent;
-
////////////////////////////////////////////////////////////////////////////////
//
// MouseEvent class
@@ -159,13 +157,6 @@ class VIEWS_EXPORT MouseEvent : public LocatedEvent {
// from |source| coordinate system to |target| coordinate system.
MouseEvent(const MouseEvent& model, View* source, View* target);
- // Creates a new MouseEvent from a TouchEvent. The location of the TouchEvent
- // is the same as the MouseEvent. Other attributes (e.g. type, flags) are
- // mapped from the TouchEvent to appropriate MouseEvent attributes.
- // GestureManager uses this to convert TouchEvents that are not handled by any
- // view.
- explicit MouseEvent(const TouchEvent& touch);
-
// TODO(msw): Kill this legacy constructor when we update uses.
// Create a new mouse event
MouseEvent(ui::EventType type, int x, int y, int flags)
« no previous file with comments | « no previous file | ui/views/events/event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698