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

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 8 errors. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/wm/immersive_context_ash.h ('k') | ash/common/wm_shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3dc5914370cbd53e643f787f0c090ece65804551..ed9244f5635f02d6176d180323be513b3f2a38fd 100644
--- a/ash/common/wm/immersive_context_ash.cc
+++ b/ash/common/wm/immersive_context_ash.cc
@@ -48,9 +48,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) {
« no previous file with comments | « ash/common/wm/immersive_context_ash.h ('k') | ash/common/wm_shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698