| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_IMMERSIVE_FULLSCREEN_CONTROLLER_H_ | 5 #ifndef ASH_WM_IMMERSIVE_FULLSCREEN_CONTROLLER_H_ |
| 6 #define ASH_WM_IMMERSIVE_FULLSCREEN_CONTROLLER_H_ | 6 #define ASH_WM_IMMERSIVE_FULLSCREEN_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 void OnTouchEvent(const ui::TouchEvent& event, | 87 void OnTouchEvent(const ui::TouchEvent& event, |
| 88 const gfx::Point& location_in_screen); | 88 const gfx::Point& location_in_screen); |
| 89 // Processes a GestureEvent. This may call SetHandled() on the supplied event. | 89 // Processes a GestureEvent. This may call SetHandled() on the supplied event. |
| 90 void OnGestureEvent(ui::GestureEvent* event, | 90 void OnGestureEvent(ui::GestureEvent* event, |
| 91 const gfx::Point& location_in_screen); | 91 const gfx::Point& location_in_screen); |
| 92 | 92 |
| 93 // views::PointerWatcher: | 93 // views::PointerWatcher: |
| 94 void OnPointerEventObserved(const ui::PointerEvent& event, | 94 void OnPointerEventObserved(const ui::PointerEvent& event, |
| 95 const gfx::Point& location_in_screen, | 95 const gfx::Point& location_in_screen, |
| 96 views::Widget* target) override; | 96 views::Widget* target) override; |
| 97 void OnMouseCaptureChanged() override; | |
| 98 | 97 |
| 99 // views::WidgetObserver overrides: | 98 // views::WidgetObserver overrides: |
| 100 void OnWidgetDestroying(views::Widget* widget) override; | 99 void OnWidgetDestroying(views::Widget* widget) override; |
| 101 | 100 |
| 102 // gfx::AnimationDelegate overrides: | 101 // gfx::AnimationDelegate overrides: |
| 103 void AnimationEnded(const gfx::Animation* animation) override; | 102 void AnimationEnded(const gfx::Animation* animation) override; |
| 104 void AnimationProgressed(const gfx::Animation* animation) override; | 103 void AnimationProgressed(const gfx::Animation* animation) override; |
| 105 | 104 |
| 106 // ash::ImmersiveRevealedLock::Delegate overrides: | 105 // ash::ImmersiveRevealedLock::Delegate overrides: |
| 107 void LockRevealedState(AnimateReveal animate_reveal) override; | 106 void LockRevealedState(AnimateReveal animate_reveal) override; |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 std::unique_ptr<ImmersiveGestureHandler> immersive_gesture_handler_; | 238 std::unique_ptr<ImmersiveGestureHandler> immersive_gesture_handler_; |
| 240 | 239 |
| 241 base::WeakPtrFactory<ImmersiveFullscreenController> weak_ptr_factory_; | 240 base::WeakPtrFactory<ImmersiveFullscreenController> weak_ptr_factory_; |
| 242 | 241 |
| 243 DISALLOW_COPY_AND_ASSIGN(ImmersiveFullscreenController); | 242 DISALLOW_COPY_AND_ASSIGN(ImmersiveFullscreenController); |
| 244 }; | 243 }; |
| 245 | 244 |
| 246 } // namespace ash | 245 } // namespace ash |
| 247 | 246 |
| 248 #endif // ASH_WM_IMMERSIVE_FULLSCREEN_CONTROLLER_H_ | 247 #endif // ASH_WM_IMMERSIVE_FULLSCREEN_CONTROLLER_H_ |
| OLD | NEW |