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

Side by Side Diff: ash/ime/input_method_event_filter.h

Issue 9221014: aura: Gesture event plumbing (skeleton). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/drag_drop/drag_drop_controller.cc ('k') | ash/ime/input_method_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) 2011 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_INPUT_METHOD_EVENT_FILTER_ 5 #ifndef ASH_WM_INPUT_METHOD_EVENT_FILTER_
6 #define ASH_WM_INPUT_METHOD_EVENT_FILTER_ 6 #define ASH_WM_INPUT_METHOD_EVENT_FILTER_
7 #pragma once 7 #pragma once
8 8
9 #include "ash/ash_export.h" 9 #include "ash/ash_export.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
(...skipping 19 matching lines...) Expand all
31 31
32 private: 32 private:
33 // Overridden from aura::EventFilter: 33 // Overridden from aura::EventFilter:
34 virtual bool PreHandleKeyEvent(aura::Window* target, 34 virtual bool PreHandleKeyEvent(aura::Window* target,
35 aura::KeyEvent* event) OVERRIDE; 35 aura::KeyEvent* event) OVERRIDE;
36 virtual bool PreHandleMouseEvent(aura::Window* target, 36 virtual bool PreHandleMouseEvent(aura::Window* target,
37 aura::MouseEvent* event) OVERRIDE; 37 aura::MouseEvent* event) OVERRIDE;
38 virtual ui::TouchStatus PreHandleTouchEvent( 38 virtual ui::TouchStatus PreHandleTouchEvent(
39 aura::Window* target, 39 aura::Window* target,
40 aura::TouchEvent* event) OVERRIDE; 40 aura::TouchEvent* event) OVERRIDE;
41 virtual ui::GestureStatus PreHandleGestureEvent(
42 aura::Window* target,
43 aura::GestureEvent* event) OVERRIDE;
41 44
42 // Overridden from ui::internal::InputMethodDelegate. 45 // Overridden from ui::internal::InputMethodDelegate.
43 virtual void DispatchKeyEventPostIME(const base::NativeEvent& event) OVERRIDE; 46 virtual void DispatchKeyEventPostIME(const base::NativeEvent& event) OVERRIDE;
44 virtual void DispatchFabricatedKeyEventPostIME(ui::EventType type, 47 virtual void DispatchFabricatedKeyEventPostIME(ui::EventType type,
45 ui::KeyboardCode key_code, 48 ui::KeyboardCode key_code,
46 int flags) OVERRIDE; 49 int flags) OVERRIDE;
47 50
48 scoped_ptr<ui::InputMethod> input_method_; 51 scoped_ptr<ui::InputMethod> input_method_;
49 52
50 DISALLOW_COPY_AND_ASSIGN(InputMethodEventFilter); 53 DISALLOW_COPY_AND_ASSIGN(InputMethodEventFilter);
51 }; 54 };
52 55
53 } // namespace internal 56 } // namespace internal
54 } // namespace ash 57 } // namespace ash
55 58
56 #endif // ASH_WM_INPUT_METHOD_EVENT_FILTER_ 59 #endif // ASH_WM_INPUT_METHOD_EVENT_FILTER_
OLDNEW
« no previous file with comments | « ash/drag_drop/drag_drop_controller.cc ('k') | ash/ime/input_method_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698