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

Side by Side Diff: ash/wm/window_modality_controller.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
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 #include "ash/wm/window_modality_controller.h" 5 #include "ash/wm/window_modality_controller.h"
6 6
7 #include "ash/wm/window_util.h" 7 #include "ash/wm/window_util.h"
8 #include "ui/aura/client/aura_constants.h" 8 #include "ui/aura/client/aura_constants.h"
9 #include "ui/aura/event.h" 9 #include "ui/aura/event.h"
10 #include "ui/aura/window.h" 10 #include "ui/aura/window.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 return !!modal_transient_child; 65 return !!modal_transient_child;
66 } 66 }
67 67
68 ui::TouchStatus WindowModalityController::PreHandleTouchEvent( 68 ui::TouchStatus WindowModalityController::PreHandleTouchEvent(
69 aura::Window* target, 69 aura::Window* target,
70 aura::TouchEvent* event) { 70 aura::TouchEvent* event) {
71 // TODO: make touch work with modals. 71 // TODO: make touch work with modals.
72 return ui::TOUCH_STATUS_UNKNOWN; 72 return ui::TOUCH_STATUS_UNKNOWN;
73 } 73 }
74 74
75 ui::GestureStatus WindowModalityController::PreHandleGestureEvent(
76 aura::Window* target,
77 aura::GestureEvent* event) {
78 // TODO: make gestures work with modals.
79 return ui::GESTURE_STATUS_UNKNOWN;
80 }
81
75 } // namespace internal 82 } // namespace internal
76 } // namespace ash 83 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/window_modality_controller.h ('k') | content/browser/renderer_host/render_widget_host_view_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698