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

Unified Diff: ui/views/mus/platform_window_mus.cc

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/bubble/tray_bubble_view.cc ('k') | ui/views/widget/root_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/platform_window_mus.cc
diff --git a/ui/views/mus/platform_window_mus.cc b/ui/views/mus/platform_window_mus.cc
index 1ae09d182c134d3542b9eb0dfdeafe0a1f96e234..1c21eadd8683776456d27552805bc09805e793f4 100644
--- a/ui/views/mus/platform_window_mus.cc
+++ b/ui/views/mus/platform_window_mus.cc
@@ -227,9 +227,6 @@ void PlatformWindowMus::OnWindowInputEvent(
// It's possible dispatching the event will spin a nested message loop. Ack
// the callback now, otherwise we appear unresponsive for the life of the
// nested message loop.
- // TODO(jamescook): Only ack the event as handled if a nested message loop
- // actually starts, perhaps through an observer on MessageLoop. Otherwise
- // ack the event with the actual handled state below DispatchEvent().
(*ack_callback)->Run(true);
ack_callback->reset();
// TODO(moshayedi): Avoid cloning after updating PlatformWindowDelegate to
« no previous file with comments | « ui/views/bubble/tray_bubble_view.cc ('k') | ui/views/widget/root_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698