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

Unified Diff: aura/event.cc

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/event.h ('k') | aura/root_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: aura/event.cc
===================================================================
--- aura/event.cc (revision 98850)
+++ aura/event.cc (working copy)
@@ -4,8 +4,6 @@
#include "aura/event.h"
-#include "aura/window.h"
-
namespace aura {
Event::Event(ui::EventType type, int flags)
@@ -29,18 +27,5 @@
flags_(copy.flags_) {
}
-LocatedEvent::LocatedEvent(const LocatedEvent& model,
- Window* source,
- Window* target)
- : Event(model),
- location_(model.location_) {
- if (target && target != source)
- Window::ConvertPointToWindow(source, target, &location_);
-}
-
-MouseEvent::MouseEvent(const MouseEvent& model, Window* source, Window* target)
- : LocatedEvent(model, source, target) {
-}
-
} // namespace aura
« no previous file with comments | « aura/event.h ('k') | aura/root_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698