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

Unified Diff: ui/views/mouse_watcher.h

Issue 753933003: Dismiss the multi window resizer when the user clicks outside of the resizer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@toplevel_consume_press
Patch Set: Created 6 years 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/wm/workspace/workspace_event_handler.cc ('k') | ui/views/mouse_watcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mouse_watcher.h
diff --git a/ui/views/mouse_watcher.h b/ui/views/mouse_watcher.h
index 9327fe64995ca559d03fb8be6950b6858f6db7be..8907687296720ecc894a71d197ff0835358f00c8 100644
--- a/ui/views/mouse_watcher.h
+++ b/ui/views/mouse_watcher.h
@@ -29,14 +29,11 @@ class VIEWS_EXPORT MouseWatcherListener {
// The MouseWatcherHost determines what region is to be monitored.
class VIEWS_EXPORT MouseWatcherHost {
public:
- // The MouseEventType can be used as a hint.
+ // The type of mouse event.
enum MouseEventType {
- // The mouse moved within the window which was current when the MouseWatcher
- // was created.
MOUSE_MOVE,
- // The mouse moved exited the window which was current when the MouseWatcher
- // was created.
- MOUSE_EXIT
+ MOUSE_EXIT,
+ MOUSE_PRESS
};
virtual ~MouseWatcherHost();
« no previous file with comments | « ash/wm/workspace/workspace_event_handler.cc ('k') | ui/views/mouse_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698