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

Unified Diff: services/ui/public/cpp/window_tree_client.h

Issue 2179083002: mash: Fix system tray bubble not closing for clicks outside its bounds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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 | « services/ui/public/cpp/tests/window_tree_client_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/window_tree_client.h
diff --git a/services/ui/public/cpp/window_tree_client.h b/services/ui/public/cpp/window_tree_client.h
index 5f11f731b219761bb7f976d573e59a5f24b07486..814eea7d308c5fdf0f0ea2cb0ce77954254ad61d 100644
--- a/services/ui/public/cpp/window_tree_client.h
+++ b/services/ui/public/cpp/window_tree_client.h
@@ -264,6 +264,10 @@ class WindowTreeClient : public mojom::WindowTreeClient,
// Callback passed from WmPerformMoveLoop().
void OnWmMoveLoopCompleted(uint32_t change_id, bool completed);
+ // Notifies the delegate of an |event| matching an event observer. |target|
+ // may be null if the event did not hit a window owned by this client.
+ void SendToEventObserver(const ui::Event& event, Window* target);
+
// Overridden from WindowTreeClient:
void OnEmbed(ClientSpecificId client_id,
mojom::WindowDataPtr root,
« no previous file with comments | « services/ui/public/cpp/tests/window_tree_client_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698