OLD | NEW |
---|---|
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_APP_LIST_APP_LIST_H_ | 5 #ifndef ASH_APP_LIST_APP_LIST_H_ |
6 #define ASH_APP_LIST_APP_LIST_H_ | 6 #define ASH_APP_LIST_APP_LIST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
43 // Starts show/hide animation. | 43 // Starts show/hide animation. |
44 void ScheduleAnimation(); | 44 void ScheduleAnimation(); |
45 | 45 |
46 // aura::EventFilter overrides: | 46 // aura::EventFilter overrides: |
47 virtual bool PreHandleKeyEvent(aura::Window* target, | 47 virtual bool PreHandleKeyEvent(aura::Window* target, |
48 aura::KeyEvent* event) OVERRIDE; | 48 aura::KeyEvent* event) OVERRIDE; |
49 virtual bool PreHandleMouseEvent(aura::Window* target, | 49 virtual bool PreHandleMouseEvent(aura::Window* target, |
50 aura::MouseEvent* event) OVERRIDE; | 50 aura::MouseEvent* event) OVERRIDE; |
51 virtual ui::TouchStatus PreHandleTouchEvent(aura::Window* target, | 51 virtual ui::TouchStatus PreHandleTouchEvent(aura::Window* target, |
52 aura::TouchEvent* event) OVERRIDE; | 52 aura::TouchEvent* event) OVERRIDE; |
53 virtual ui::GestureStatus PreHandleGestureEvent(aura::Window* target, | |
sky
2012/01/17 17:18:35
put on next line.
sadrul
2012/01/17 17:25:36
Done.
| |
54 aura::GestureEvent* event) OVERRIDE; | |
53 | 55 |
54 // ui::LayerAnimationObserver overrides: | 56 // ui::LayerAnimationObserver overrides: |
55 virtual void OnLayerAnimationEnded( | 57 virtual void OnLayerAnimationEnded( |
56 const ui::LayerAnimationSequence* sequence) OVERRIDE; | 58 const ui::LayerAnimationSequence* sequence) OVERRIDE; |
57 virtual void OnLayerAnimationAborted( | 59 virtual void OnLayerAnimationAborted( |
58 const ui::LayerAnimationSequence* sequence) OVERRIDE; | 60 const ui::LayerAnimationSequence* sequence) OVERRIDE; |
59 virtual void OnLayerAnimationScheduled( | 61 virtual void OnLayerAnimationScheduled( |
60 const ui::LayerAnimationSequence* sequence) OVERRIDE; | 62 const ui::LayerAnimationSequence* sequence) OVERRIDE; |
61 | 63 |
62 // views::Widget::Observer overrides: | 64 // views::Widget::Observer overrides: |
63 virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE; | 65 virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE; |
64 virtual void OnWidgetActivationChanged(views::Widget* widget, | 66 virtual void OnWidgetActivationChanged(views::Widget* widget, |
65 bool active) OVERRIDE; | 67 bool active) OVERRIDE; |
66 | 68 |
67 // Whether we should show or hide app list widget. | 69 // Whether we should show or hide app list widget. |
68 bool is_visible_; | 70 bool is_visible_; |
69 | 71 |
70 // App list widget we get from ShellDelegate. | 72 // App list widget we get from ShellDelegate. |
71 views::Widget* widget_; | 73 views::Widget* widget_; |
72 | 74 |
73 DISALLOW_COPY_AND_ASSIGN(AppList); | 75 DISALLOW_COPY_AND_ASSIGN(AppList); |
74 }; | 76 }; |
75 | 77 |
76 } // namespace internal | 78 } // namespace internal |
77 } // namespace ash | 79 } // namespace ash |
78 | 80 |
79 #endif // ASH_APP_LIST_APP_LIST_H_ | 81 #endif // ASH_APP_LIST_APP_LIST_H_ |
OLD | NEW |