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

Side by Side Diff: ash/wm/modality_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/tooltips/tooltip_controller.cc ('k') | ash/wm/modality_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_MODALITY_EVENT_FILTER_H_ 5 #ifndef ASH_WM_MODALITY_EVENT_FILTER_H_
6 #define ASH_WM_MODALITY_EVENT_FILTER_H_ 6 #define ASH_WM_MODALITY_EVENT_FILTER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/aura/event_filter.h" 10 #include "ui/aura/event_filter.h"
11 #include "ash/ash_export.h" 11 #include "ash/ash_export.h"
(...skipping 10 matching lines...) Expand all
22 virtual ~ModalityEventFilter(); 22 virtual ~ModalityEventFilter();
23 23
24 // Overridden from aura::EventFilter: 24 // Overridden from aura::EventFilter:
25 virtual bool PreHandleKeyEvent(aura::Window* target, 25 virtual bool PreHandleKeyEvent(aura::Window* target,
26 aura::KeyEvent* event) OVERRIDE; 26 aura::KeyEvent* event) OVERRIDE;
27 virtual bool PreHandleMouseEvent(aura::Window* target, 27 virtual bool PreHandleMouseEvent(aura::Window* target,
28 aura::MouseEvent* event) OVERRIDE; 28 aura::MouseEvent* event) OVERRIDE;
29 virtual ui::TouchStatus PreHandleTouchEvent( 29 virtual ui::TouchStatus PreHandleTouchEvent(
30 aura::Window* target, 30 aura::Window* target,
31 aura::TouchEvent* event) OVERRIDE; 31 aura::TouchEvent* event) OVERRIDE;
32 virtual ui::GestureStatus PreHandleGestureEvent(
33 aura::Window* target,
34 aura::GestureEvent* event) OVERRIDE;
32 35
33 private: 36 private:
34 ModalityEventFilterDelegate* delegate_; 37 ModalityEventFilterDelegate* delegate_;
35 38
36 DISALLOW_COPY_AND_ASSIGN(ModalityEventFilter); 39 DISALLOW_COPY_AND_ASSIGN(ModalityEventFilter);
37 }; 40 };
38 41
39 } // namespace internal 42 } // namespace internal
40 } // namespace ash 43 } // namespace ash
41 44
42 #endif // ASH_WM_MODALITY_EVENT_FILTER_H_ 45 #endif // ASH_WM_MODALITY_EVENT_FILTER_H_
OLDNEW
« no previous file with comments | « ash/tooltips/tooltip_controller.cc ('k') | ash/wm/modality_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698