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_WM_APP_LIST_CONTROLLER_H_ | 5 #ifndef ASH_WM_APP_LIST_CONTROLLER_H_ |
6 #define ASH_WM_APP_LIST_CONTROLLER_H_ | 6 #define ASH_WM_APP_LIST_CONTROLLER_H_ |
7 | 7 |
8 #include "ash/launcher/launcher_icon_observer.h" | 8 #include "ash/launcher/launcher_icon_observer.h" |
9 #include "ash/shell_observer.h" | 9 #include "ash/shell_observer.h" |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 // Starts show/hide animation. | 71 // Starts show/hide animation. |
72 void ScheduleAnimation(); | 72 void ScheduleAnimation(); |
73 | 73 |
74 void ProcessLocatedEvent(ui::LocatedEvent* event); | 74 void ProcessLocatedEvent(ui::LocatedEvent* event); |
75 | 75 |
76 // Makes app list bubble update its bounds. | 76 // Makes app list bubble update its bounds. |
77 void UpdateBounds(); | 77 void UpdateBounds(); |
78 | 78 |
79 // ui::EventHandler overrides: | 79 // ui::EventHandler overrides: |
80 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE; | 80 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; |
81 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; | 81 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; |
82 | 82 |
83 // aura::client::FocusChangeObserver overrides: | 83 // aura::client::FocusChangeObserver overrides: |
84 virtual void OnWindowFocused(aura::Window* gained_focus, | 84 virtual void OnWindowFocused(aura::Window* gained_focus, |
85 aura::Window* lost_focus) OVERRIDE; | 85 aura::Window* lost_focus) OVERRIDE; |
86 | 86 |
87 // aura::RootWindowObserver overrides: | 87 // aura::RootWindowObserver overrides: |
88 virtual void OnRootWindowResized(const aura::RootWindow* root, | 88 virtual void OnRootWindowResized(const aura::RootWindow* root, |
89 const gfx::Size& old_size) OVERRIDE; | 89 const gfx::Size& old_size) OVERRIDE; |
90 | 90 |
(...skipping 28 matching lines...) Expand all Loading... |
119 // Whether should schedule snap back animation. | 119 // Whether should schedule snap back animation. |
120 bool should_snap_back_; | 120 bool should_snap_back_; |
121 | 121 |
122 DISALLOW_COPY_AND_ASSIGN(AppListController); | 122 DISALLOW_COPY_AND_ASSIGN(AppListController); |
123 }; | 123 }; |
124 | 124 |
125 } // namespace internal | 125 } // namespace internal |
126 } // namespace ash | 126 } // namespace ash |
127 | 127 |
128 #endif // ASH_WM_APP_LIST_CONTROLLER_H_ | 128 #endif // ASH_WM_APP_LIST_CONTROLLER_H_ |
OLD | NEW |