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

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: 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..f5750c5a050628878bb4b8a909ef3bd161d1c8bb 100644
--- a/ash/common/wm/immersive_context_ash.cc
+++ b/ash/common/wm/immersive_context_ash.cc
@@ -50,8 +50,9 @@ gfx::Rect ImmersiveContextAsh::GetDisplayBoundsInScreen(views::Widget* widget) {
}
void ImmersiveContextAsh::AddPointerWatcher(views::PointerWatcher* watcher,
- bool wants_moves) {
- WmShell::Get()->AddPointerWatcher(watcher, wants_moves);
+ bool wants_moves,
+ bool wants_drags) {
+ WmShell::Get()->AddPointerWatcher(watcher, wants_moves, wants_drags);
}
void ImmersiveContextAsh::RemovePointerWatcher(views::PointerWatcher* watcher) {

Powered by Google App Engine
This is Rietveld 408576698