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

Unified Diff: ash/pointer_watcher_delegate_aura.h

Issue 1949823002: WIP: Eliminate event.target() usage from TrayEventFilter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: container delegate 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
« no previous file with comments | « ash/mus/shell_delegate_mus.cc ('k') | ash/pointer_watcher_delegate_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..6832bcbf46bd75c4d19bb49f222d2bf39464ef7e 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
@@ -35,6 +39,7 @@ class ASH_EXPORT PointerWatcherDelegateAura : public PointerWatcherDelegate,
void OnTouchEvent(ui::TouchEvent* event) override;
private:
+ views::Widget* GetTargetWidget(const ui::LocatedEvent& event) const;
gfx::Point GetLocationInScreen(const ui::LocatedEvent& event) const;
// Must be empty on destruction.
« no previous file with comments | « ash/mus/shell_delegate_mus.cc ('k') | ash/pointer_watcher_delegate_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698