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

Unified Diff: ash/common/wm/immersive_context_ash.cc

Issue 2271393002: Wires up drags to pointer watcher adapter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Rebased. Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: ash/common/wm/immersive_context_ash.cc
diff --git a/ash/common/wm/immersive_context_ash.cc b/ash/common/wm/immersive_context_ash.cc
index 62f0d2ffdd6a63b05526ec65414969da53e0899a..8c97ba57a5aa8a683296be80ae99cf30fb1e16ab 100644
--- a/ash/common/wm/immersive_context_ash.cc
+++ b/ash/common/wm/immersive_context_ash.cc
@@ -49,9 +49,10 @@ gfx::Rect ImmersiveContextAsh::GetDisplayBoundsInScreen(views::Widget* widget) {
return window->GetDisplayNearestWindow().bounds();
}
-void ImmersiveContextAsh::AddPointerWatcher(views::PointerWatcher* watcher,
- bool wants_moves) {
- WmShell::Get()->AddPointerWatcher(watcher, wants_moves);
+void ImmersiveContextAsh::AddPointerWatcher(
+ views::PointerWatcher* watcher,
+ views::PointerWatcherEventTypes events) {
+ WmShell::Get()->AddPointerWatcher(watcher, events);
}
void ImmersiveContextAsh::RemovePointerWatcher(views::PointerWatcher* watcher) {

Powered by Google App Engine
This is Rietveld 408576698