| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 // Starts show/hide animation. | 69 // Starts show/hide animation. |
| 70 void ScheduleAnimation(); | 70 void ScheduleAnimation(); |
| 71 | 71 |
| 72 void ProcessLocatedEvent(ui::LocatedEvent* event); | 72 void ProcessLocatedEvent(ui::LocatedEvent* event); |
| 73 | 73 |
| 74 // Makes app list bubble update its bounds. | 74 // Makes app list bubble update its bounds. |
| 75 void UpdateBounds(); | 75 void UpdateBounds(); |
| 76 | 76 |
| 77 // ui::EventHandler overrides: | 77 // ui::EventHandler overrides: |
| 78 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE; | 78 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE; |
| 79 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; | 79 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; |
| 80 | 80 |
| 81 // aura::client::FocusChangeObserver overrides: | 81 // aura::client::FocusChangeObserver overrides: |
| 82 virtual void OnWindowFocused(aura::Window* window) OVERRIDE; | 82 virtual void OnWindowFocused(aura::Window* window) OVERRIDE; |
| 83 | 83 |
| 84 // aura::RootWindowObserver overrides: | 84 // aura::RootWindowObserver overrides: |
| 85 virtual void OnRootWindowResized(const aura::RootWindow* root, | 85 virtual void OnRootWindowResized(const aura::RootWindow* root, |
| 86 const gfx::Size& old_size) OVERRIDE; | 86 const gfx::Size& old_size) OVERRIDE; |
| 87 | 87 |
| 88 // ui::ImplicitAnimationObserver overrides: | 88 // ui::ImplicitAnimationObserver overrides: |
| 89 virtual void OnImplicitAnimationsCompleted() OVERRIDE; | 89 virtual void OnImplicitAnimationsCompleted() OVERRIDE; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 116 // Whether should schedule snap back animation. | 116 // Whether should schedule snap back animation. |
| 117 bool should_snap_back_; | 117 bool should_snap_back_; |
| 118 | 118 |
| 119 DISALLOW_COPY_AND_ASSIGN(AppListController); | 119 DISALLOW_COPY_AND_ASSIGN(AppListController); |
| 120 }; | 120 }; |
| 121 | 121 |
| 122 } // namespace internal | 122 } // namespace internal |
| 123 } // namespace ash | 123 } // namespace ash |
| 124 | 124 |
| 125 #endif // ASH_WM_APP_LIST_CONTROLLER_H_ | 125 #endif // ASH_WM_APP_LIST_CONTROLLER_H_ |
| OLD | NEW |