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

Unified Diff: ui/aura/root_window_host_x11_unittest.cc

Issue 147203004: aura: Remove event-dispatch methods from WindowTreeHostDelegate interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win Created 6 years, 11 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/root_window_host_x11.cc ('k') | ui/aura/root_window_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window_host_x11_unittest.cc
diff --git a/ui/aura/root_window_host_x11_unittest.cc b/ui/aura/root_window_host_x11_unittest.cc
index 4070bbe8696400e286bba20f21ee2b97ec8844f5..4efb8fd4630ce38780cf90f1de1e1ad84378be6c 100644
--- a/ui/aura/root_window_host_x11_unittest.cc
+++ b/ui/aura/root_window_host_x11_unittest.cc
@@ -26,22 +26,6 @@ class TestWindowTreeHostDelegate : public aura::WindowTreeHostDelegate,
virtual ~TestWindowTreeHostDelegate() {}
// aura::WindowTreeHostDelegate:
- virtual bool OnHostKeyEvent(ui::KeyEvent* event) OVERRIDE {
- return true;
- }
- virtual bool OnHostMouseEvent(ui::MouseEvent* event) OVERRIDE {
- return true;
- }
- virtual bool OnHostScrollEvent(ui::ScrollEvent* event) OVERRIDE {
- return true;
- }
- virtual bool OnHostTouchEvent(ui::TouchEvent* event) OVERRIDE {
- last_touch_id_ = event->touch_id();
- last_touch_type_ = event->type();
- last_touch_location_ = event->location();
- return true;
- }
-
virtual void OnHostCancelMode() OVERRIDE {}
virtual void OnHostActivated() OVERRIDE {}
virtual void OnHostLostWindowCapture() OVERRIDE {}
« no previous file with comments | « ui/aura/root_window_host_x11.cc ('k') | ui/aura/root_window_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698