summaryrefslogtreecommitdiffstats
path: root/aura/event.h
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-30 18:52:44 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-30 18:52:44 +0000
commit1c34932902e6462e70980112ee045907492602c8 (patch)
treebb09aa097f0d2e1b386fc72456dee059c73bd32f /aura/event.h
parent08858317710b1f9df9ebb786f7481cf7c6e0dbbe (diff)
downloadchromium_src-1c34932902e6462e70980112ee045907492602c8.zip
chromium_src-1c34932902e6462e70980112ee045907492602c8.tar.gz
chromium_src-1c34932902e6462e70980112ee045907492602c8.tar.bz2
Revert 98850 - Proper MouseEvent targeting. Adds a Window method that locates a Window for a given point.
Also adds an Aura test suite. http://crbug.com/93933 http://crbug.com/93943 TEST=see unittest Review URL: http://codereview.chromium.org/7791030 TBR=ben@chromium.org Review URL: http://codereview.chromium.org/7739002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98852 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'aura/event.h')
-rw-r--r--aura/event.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/aura/event.h b/aura/event.h
index be08345..27a8f30 100644
--- a/aura/event.h
+++ b/aura/event.h
@@ -21,8 +21,6 @@ typedef union _XEvent XEvent;
typedef XEvent* NativeEvent;
#endif
-class Window;
-
class Event {
public:
const NativeEvent& native_event() const { return native_event_; }
@@ -57,11 +55,6 @@ class LocatedEvent : public Event {
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 @@ class MouseEvent : public LocatedEvent {
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);
};