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

Unified Diff: aura/event.h

Issue 7739002: Revert 98850 - Proper MouseEvent targeting. Adds a Window method that locates a Window for a give... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | « aura/desktop_host_win.cc ('k') | aura/event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: aura/event.h
===================================================================
--- aura/event.h (revision 98850)
+++ aura/event.h (working copy)
@@ -21,8 +21,6 @@
typedef XEvent* NativeEvent;
#endif
-class Window;
-
class Event {
public:
const NativeEvent& native_event() const { return native_event_; }
@@ -57,11 +55,6 @@
protected:
explicit LocatedEvent(NativeEvent native_event);
- // Create a new LocatedEvent which is identical to the provided model.
- // If source / target windows are provided, the model location will be
- // converted from |source| coordinate system to |target| coordinate system.
- LocatedEvent(const LocatedEvent& model, Window* source, Window* target);
-
gfx::Point location_;
private:
@@ -72,11 +65,6 @@
public:
explicit MouseEvent(NativeEvent native_event);
- // Create a new MouseEvent which is identical to the provided model.
- // If source / target windows are provided, the model location will be
- // converted from |source| coordinate system to |target| coordinate system.
- MouseEvent(const MouseEvent& model, Window* source, Window* target);
-
private:
DISALLOW_COPY_AND_ASSIGN(MouseEvent);
};
« no previous file with comments | « aura/desktop_host_win.cc ('k') | aura/event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698