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

Side by Side Diff: ash/wm/event_rewriter_event_filter.h

Issue 11364062: ui: Remove TouchStatus in favour of EventResult. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/wm/app_list_controller.cc ('k') | ash/wm/event_rewriter_event_filter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_WM_EVENT_REWRITER_EVENT_FILTER_ 5 #ifndef ASH_WM_EVENT_REWRITER_EVENT_FILTER_
6 #define ASH_WM_EVENT_REWRITER_EVENT_FILTER_ 6 #define ASH_WM_EVENT_REWRITER_EVENT_FILTER_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 13 matching lines...) Expand all
24 virtual ~EventRewriterEventFilter(); 24 virtual ~EventRewriterEventFilter();
25 25
26 void SetEventRewriterDelegate(scoped_ptr<EventRewriterDelegate> delegate); 26 void SetEventRewriterDelegate(scoped_ptr<EventRewriterDelegate> delegate);
27 27
28 private: 28 private:
29 // Overridden from aura::EventFilter: 29 // Overridden from aura::EventFilter:
30 virtual bool PreHandleKeyEvent(aura::Window* target, 30 virtual bool PreHandleKeyEvent(aura::Window* target,
31 ui::KeyEvent* event) OVERRIDE; 31 ui::KeyEvent* event) OVERRIDE;
32 virtual bool PreHandleMouseEvent(aura::Window* target, 32 virtual bool PreHandleMouseEvent(aura::Window* target,
33 ui::MouseEvent* event) OVERRIDE; 33 ui::MouseEvent* event) OVERRIDE;
34 virtual ui::TouchStatus PreHandleTouchEvent( 34 virtual ui::EventResult PreHandleTouchEvent(
35 aura::Window* target, 35 aura::Window* target,
36 ui::TouchEvent* event) OVERRIDE; 36 ui::TouchEvent* event) OVERRIDE;
37 virtual ui::EventResult PreHandleGestureEvent( 37 virtual ui::EventResult PreHandleGestureEvent(
38 aura::Window* target, 38 aura::Window* target,
39 ui::GestureEvent* event) OVERRIDE; 39 ui::GestureEvent* event) OVERRIDE;
40 40
41 scoped_ptr<EventRewriterDelegate> delegate_; 41 scoped_ptr<EventRewriterDelegate> delegate_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(EventRewriterEventFilter); 43 DISALLOW_COPY_AND_ASSIGN(EventRewriterEventFilter);
44 }; 44 };
45 45
46 } // namespace internal 46 } // namespace internal
47 } // namespace ash 47 } // namespace ash
48 48
49 #endif // ASH_WM_EVENT_REWRITER_EVENT_FILTER_ 49 #endif // ASH_WM_EVENT_REWRITER_EVENT_FILTER_
OLDNEW
« no previous file with comments | « ash/wm/app_list_controller.cc ('k') | ash/wm/event_rewriter_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698