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

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: Fixed patch set 1 errors. 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..3a8867cd46b3bf5520e84c76b7cd40e6967b3036 100644
--- a/ash/common/wm/immersive_context_ash.cc
+++ b/ash/common/wm/immersive_context_ash.cc
@@ -50,8 +50,8 @@ gfx::Rect ImmersiveContextAsh::GetDisplayBoundsInScreen(views::Widget* widget) {
}
void ImmersiveContextAsh::AddPointerWatcher(views::PointerWatcher* watcher,
- bool wants_moves) {
- WmShell::Get()->AddPointerWatcher(watcher, wants_moves);
+ views::RequestedEvents events) {
+ WmShell::Get()->AddPointerWatcher(watcher, events);
}
void ImmersiveContextAsh::RemovePointerWatcher(views::PointerWatcher* watcher) {

Powered by Google App Engine
This is Rietveld 408576698