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

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

Issue 9221014: aura: Gesture event plumbing (skeleton). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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 #ifndef ASH_WM_WINDOW_MODALITY_CONTROLLER_H_ 5 #ifndef ASH_WM_WINDOW_MODALITY_CONTROLLER_H_
6 #define ASH_WM_WINDOW_MODALITY_CONTROLLER_H_ 6 #define ASH_WM_WINDOW_MODALITY_CONTROLLER_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"
(...skipping 13 matching lines...) Expand all
24 // does not have any window-modal transient children. 24 // does not have any window-modal transient children.
25 static aura::Window* GetWindowModalTransient(aura::Window* window); 25 static aura::Window* GetWindowModalTransient(aura::Window* window);
26 26
27 // Overridden from aura::EventFilter: 27 // Overridden from aura::EventFilter:
28 virtual bool PreHandleKeyEvent(aura::Window* target, 28 virtual bool PreHandleKeyEvent(aura::Window* target,
29 aura::KeyEvent* event) OVERRIDE; 29 aura::KeyEvent* event) OVERRIDE;
30 virtual bool PreHandleMouseEvent(aura::Window* target, 30 virtual bool PreHandleMouseEvent(aura::Window* target,
31 aura::MouseEvent* event) OVERRIDE; 31 aura::MouseEvent* event) OVERRIDE;
32 virtual ui::TouchStatus PreHandleTouchEvent(aura::Window* target, 32 virtual ui::TouchStatus PreHandleTouchEvent(aura::Window* target,
33 aura::TouchEvent* event) OVERRIDE; 33 aura::TouchEvent* event) OVERRIDE;
34 virtual ui::GestureStatus PreHandleGestureEvent(aura::Window* target,
sky 2012/01/17 17:18:35 nit: put on next line.
sadrul 2012/01/17 17:25:36 Done.
35 aura::GestureEvent* event) OVERRIDE;
34 36
35 private: 37 private:
36 DISALLOW_COPY_AND_ASSIGN(WindowModalityController); 38 DISALLOW_COPY_AND_ASSIGN(WindowModalityController);
37 }; 39 };
38 40
39 } // namespace internal 41 } // namespace internal
40 } // namespace ash 42 } // namespace ash
41 43
42 #endif // ASH_WM_WINDOW_MODALITY_CONTROLLER_H_ 44 #endif // ASH_WM_WINDOW_MODALITY_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698