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

Side by Side Diff: ash/shared/immersive_fullscreen_controller.h

Issue 2256343003: Update ui::PointerEvent to support mouse wheel and capture change events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 3 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
OLDNEW
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_SHARED_IMMERSIVE_FULLSCREEN_CONTROLLER_H_ 5 #ifndef ASH_SHARED_IMMERSIVE_FULLSCREEN_CONTROLLER_H_
6 #define ASH_SHARED_IMMERSIVE_FULLSCREEN_CONTROLLER_H_ 6 #define ASH_SHARED_IMMERSIVE_FULLSCREEN_CONTROLLER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 void OnTouchEvent(const ui::TouchEvent& event, 114 void OnTouchEvent(const ui::TouchEvent& event,
115 const gfx::Point& location_in_screen); 115 const gfx::Point& location_in_screen);
116 // Processes a GestureEvent. This may call SetHandled() on the supplied event. 116 // Processes a GestureEvent. This may call SetHandled() on the supplied event.
117 void OnGestureEvent(ui::GestureEvent* event, 117 void OnGestureEvent(ui::GestureEvent* event,
118 const gfx::Point& location_in_screen); 118 const gfx::Point& location_in_screen);
119 119
120 // views::PointerWatcher: 120 // views::PointerWatcher:
121 void OnPointerEventObserved(const ui::PointerEvent& event, 121 void OnPointerEventObserved(const ui::PointerEvent& event,
122 const gfx::Point& location_in_screen, 122 const gfx::Point& location_in_screen,
123 views::Widget* target) override; 123 views::Widget* target) override;
124 void OnMouseCaptureChanged() override;
125 124
126 // views::WidgetObserver overrides: 125 // views::WidgetObserver overrides:
127 void OnWidgetDestroying(views::Widget* widget) override; 126 void OnWidgetDestroying(views::Widget* widget) override;
128 127
129 // gfx::AnimationDelegate overrides: 128 // gfx::AnimationDelegate overrides:
130 void AnimationEnded(const gfx::Animation* animation) override; 129 void AnimationEnded(const gfx::Animation* animation) override;
131 void AnimationProgressed(const gfx::Animation* animation) override; 130 void AnimationProgressed(const gfx::Animation* animation) override;
132 131
133 // ash::ImmersiveRevealedLock::Delegate overrides: 132 // ash::ImmersiveRevealedLock::Delegate overrides:
134 void LockRevealedState(AnimateReveal animate_reveal) override; 133 void LockRevealedState(AnimateReveal animate_reveal) override;
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 std::unique_ptr<ImmersiveGestureHandler> immersive_gesture_handler_; 268 std::unique_ptr<ImmersiveGestureHandler> immersive_gesture_handler_;
270 269
271 base::WeakPtrFactory<ImmersiveFullscreenController> weak_ptr_factory_; 270 base::WeakPtrFactory<ImmersiveFullscreenController> weak_ptr_factory_;
272 271
273 DISALLOW_COPY_AND_ASSIGN(ImmersiveFullscreenController); 272 DISALLOW_COPY_AND_ASSIGN(ImmersiveFullscreenController);
274 }; 273 };
275 274
276 } // namespace ash 275 } // namespace ash
277 276
278 #endif // ASH_SHARED_IMMERSIVE_FULLSCREEN_CONTROLLER_H_ 277 #endif // ASH_SHARED_IMMERSIVE_FULLSCREEN_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/aura/pointer_watcher_adapter_unittest.cc ('k') | ash/shared/immersive_fullscreen_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698