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

Unified Diff: ui/views/widget/root_view.h

Issue 1887273002: Revert of mash: Close system tray bubble on click outside its bounds, part 1 (patchset #4 id:60001 … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « ui/views/mus/platform_window_mus.cc ('k') | ui/views/widget/root_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/root_view.h
diff --git a/ui/views/widget/root_view.h b/ui/views/widget/root_view.h
index 6a8ba3ce198835965ff33c4627b4d874b2f78d93..dea38d2be734ba869b9ee16c69177e554a014b4d 100644
--- a/ui/views/widget/root_view.h
+++ b/ui/views/widget/root_view.h
@@ -159,12 +159,6 @@ class VIEWS_EXPORT RootView : public View,
View* view,
View* sibling) WARN_UNUSED_RESULT;
- // Specialized version of SetMouseHandler(). If |clear_on_release| is true the
- // mouse handler will be cleared on mouse release, which is the common case
- // and used for drags. If |clear_on_release| is false then the mouse handler
- // must be explicitly released by calling SetMouseHandler() with null.
- void SetMouseHandler(View* view, bool clear_on_release);
-
// Overridden from ui::EventDispatcherDelegate:
bool CanDispatchToTarget(ui::EventTarget* target) override;
ui::EventDispatchDetails PreDispatchEvent(ui::EventTarget* target,
@@ -193,13 +187,9 @@ class VIEWS_EXPORT RootView : public View,
// a double-click lands on the same view as its single-click part.
View* last_click_handler_;
- // True if mouse_pressed_handler_ has been explicitly set.
+ // true if mouse_pressed_handler_ has been explicitly set
bool explicit_mouse_handler_;
- // True if mouse_pressed_handler_ should be automatically cleared on mouse
- // release, as is common during drags.
- bool clear_mouse_handler_on_release_;
-
// Last position/flag of a mouse press/drag. Used if capture stops and we need
// to synthesize a release.
int last_mouse_event_flags_;
« no previous file with comments | « ui/views/mus/platform_window_mus.cc ('k') | ui/views/widget/root_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698