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

Unified Diff: ash/shared/immersive_fullscreen_controller.cc

Issue 2271393002: Wires up drags to pointer watcher adapter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: 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
« ash/mus/bridge/wm_shell_mus.cc ('K') | « ash/shared/immersive_context.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shared/immersive_fullscreen_controller.cc
diff --git a/ash/shared/immersive_fullscreen_controller.cc b/ash/shared/immersive_fullscreen_controller.cc
index 1af174bee4be1412beda419387f14f5cbb5b7d24..cb3fe980c8f2d60ab6948b2dfb3ee0b70140804a 100644
--- a/ash/shared/immersive_fullscreen_controller.cc
+++ b/ash/shared/immersive_fullscreen_controller.cc
@@ -314,7 +314,8 @@ void ImmersiveFullscreenController::EnableWindowObservers(bool enable) {
ImmersiveHandlerFactory::Get()->CreateGestureHandler(this);
widget_->AddObserver(this);
const bool wants_moves = true;
- ImmersiveContext::Get()->AddPointerWatcher(this, wants_moves);
+ const bool wants_drags = false;
+ ImmersiveContext::Get()->AddPointerWatcher(this, wants_moves, wants_drags);
} else {
ImmersiveContext::Get()->RemovePointerWatcher(this);
widget_->RemoveObserver(this);
« ash/mus/bridge/wm_shell_mus.cc ('K') | « ash/shared/immersive_context.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698