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

Unified Diff: ash/pointer_watcher_delegate_aura.h

Issue 1957653003: mash: Don't close system tray bubble for clicks in menus/notifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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
Index: ash/pointer_watcher_delegate_aura.h
diff --git a/ash/pointer_watcher_delegate_aura.h b/ash/pointer_watcher_delegate_aura.h
index 8a7eb662ca4232c8b88641da30528d4f3ee277fa..b6c31bda723c0193ee5f840baddf0cafafe00202 100644
--- a/ash/pointer_watcher_delegate_aura.h
+++ b/ash/pointer_watcher_delegate_aura.h
@@ -16,6 +16,10 @@ namespace ui {
class LocatedEvent;
}
+namespace views {
+class Widget;
+}
+
namespace ash {
// Support for PointerWatchers in non-mus ash, implemented with a pre-target
@@ -36,6 +40,7 @@ class ASH_EXPORT PointerWatcherDelegateAura : public PointerWatcherDelegate,
private:
gfx::Point GetLocationInScreen(const ui::LocatedEvent& event) const;
+ views::Widget* GetTargetWidget(const ui::LocatedEvent& event) const;
// Must be empty on destruction.
base::ObserverList<views::PointerWatcher, true> pointer_watchers_;

Powered by Google App Engine
This is Rietveld 408576698