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

Unified Diff: ui/aura/window_delegate.cc

Issue 10908127: events: Move EventTarget into Event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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_delegate.h ('k') | ui/aura/window_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_delegate.cc
diff --git a/ui/aura/window_delegate.cc b/ui/aura/window_delegate.cc
index ba9c6330aaa135c373121bb526058b44901f5ae4..330230320fdf1f258b894c4cde52316915c0cceb 100644
--- a/ui/aura/window_delegate.cc
+++ b/ui/aura/window_delegate.cc
@@ -6,29 +6,8 @@
namespace aura {
-ui::EventResult WindowDelegate::OnKeyEvent(ui::EventTarget* target,
- ui::KeyEvent* event) {
- return OnKeyEvent(event) ? ui::ER_HANDLED : ui::ER_UNHANDLED;
-}
-
-ui::EventResult WindowDelegate::OnMouseEvent(ui::EventTarget* target,
- ui::MouseEvent* event) {
- return OnMouseEvent(event) ? ui::ER_HANDLED : ui::ER_UNHANDLED;
-}
-
-ui::EventResult WindowDelegate::OnScrollEvent(ui::EventTarget* target,
- ui::ScrollEvent* event) {
+ui::EventResult WindowDelegate::OnScrollEvent(ui::ScrollEvent* event) {
return ui::ER_UNHANDLED;
}
-ui::TouchStatus WindowDelegate::OnTouchEvent(ui::EventTarget* target,
- ui::TouchEvent* event) {
- return ui::TOUCH_STATUS_UNKNOWN;
-}
-
-ui::EventResult WindowDelegate::OnGestureEvent(ui::EventTarget* target,
- ui::GestureEvent* event) {
- return OnGestureEvent(event);
-}
-
} // namespace aura
« no previous file with comments | « ui/aura/window_delegate.h ('k') | ui/aura/window_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698