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

Unified Diff: ui/base/event.h

Issue 10827145: Convert Aura to use ui::Event. (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/aura/window_unittest.cc ('k') | ui/base/event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/event.h
===================================================================
--- ui/base/event.h (revision 150582)
+++ ui/base/event.h (working copy)
@@ -132,12 +132,11 @@
const gfx::Point& root_location,
int flags);
+ LocatedEvent(const LocatedEvent& model);
+
gfx::Point location_;
gfx::Point root_location_;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(LocatedEvent);
};
class UI_EXPORT MouseEvent : public LocatedEvent {
@@ -183,14 +182,14 @@
void SetClickCount(int click_count);
private:
+ explicit MouseEvent(const MouseEvent& model);
+
gfx::Point root_location_;
static MouseEvent* last_click_event_;
// Returns the repeat count based on the previous mouse click, if it is
// recent enough and within a small enough distance.
static int GetRepeatCount(const MouseEvent& click_event);
-
- DISALLOW_COPY_AND_ASSIGN(MouseEvent);
};
// TODO(beng): rename to TouchEvent after conversion is complete.
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | ui/base/event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698