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

Side by Side Diff: ash/wm/modality_event_filter.cc

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/wm/modality_event_filter.h ('k') | ash/wm/root_window_event_filter.h » ('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 #include "ash/wm/modality_event_filter.h" 5 #include "ash/wm/modality_event_filter.h"
6 6
7 #include "ash/wm/modality_event_filter_delegate.h" 7 #include "ash/wm/modality_event_filter_delegate.h"
8 #include "ui/aura/event.h" 8 #include "ui/aura/event.h"
9 9
10 namespace ash { 10 namespace ash {
11 namespace internal { 11 namespace internal {
(...skipping 17 matching lines...) Expand all
29 return !delegate_->CanWindowReceiveEvents(target); 29 return !delegate_->CanWindowReceiveEvents(target);
30 } 30 }
31 31
32 ui::TouchStatus ModalityEventFilter::PreHandleTouchEvent( 32 ui::TouchStatus ModalityEventFilter::PreHandleTouchEvent(
33 aura::Window* target, 33 aura::Window* target,
34 aura::TouchEvent* event) { 34 aura::TouchEvent* event) {
35 // TODO(sadrul): ! 35 // TODO(sadrul): !
36 return ui::TOUCH_STATUS_UNKNOWN; 36 return ui::TOUCH_STATUS_UNKNOWN;
37 } 37 }
38 38
39 ui::GestureStatus ModalityEventFilter::PreHandleGestureEvent(
40 aura::Window* target,
41 aura::GestureEvent* event) {
42 // TODO(sad):
43 return ui::GESTURE_STATUS_UNKNOWN;
44 }
45
39 } // namespace internal 46 } // namespace internal
40 } // namespace ash 47 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/modality_event_filter.h ('k') | ash/wm/root_window_event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698