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

Unified Diff: ash/shared/immersive_context.h

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/mus/bridge/wm_shell_mus.cc ('k') | ash/shared/immersive_fullscreen_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shared/immersive_context.h
diff --git a/ash/shared/immersive_context.h b/ash/shared/immersive_context.h
index 6ed6a284afd9118fa663d6a5dbb94379dda819ce..9e8041de3d86f55e2c03013633be5fc66c54697d 100644
--- a/ash/shared/immersive_context.h
+++ b/ash/shared/immersive_context.h
@@ -12,6 +12,7 @@ class Rect;
}
namespace views {
class PointerWatcher;
+enum class PointerWatcherEventTypes;
class Widget;
}
@@ -48,7 +49,7 @@ class ASH_EXPORT ImmersiveContext {
// See WmShell::AddPointerWatcher for details.
virtual void AddPointerWatcher(views::PointerWatcher* watcher,
- bool wants_moves) = 0;
+ views::PointerWatcherEventTypes events) = 0;
virtual void RemovePointerWatcher(views::PointerWatcher* watcher) = 0;
// Returns true if any window has capture.
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.cc ('k') | ash/shared/immersive_fullscreen_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698