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

Unified Diff: ui/wm/core/base_focus_rules.h

Issue 2809073002: cros: allow aura window not considered activatable for pointer event (Closed)
Patch Set: rebase and fix conflicts Created 3 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
Index: ui/wm/core/base_focus_rules.h
diff --git a/ui/wm/core/base_focus_rules.h b/ui/wm/core/base_focus_rules.h
index 0e84e29c48b8fd8a9c0bcd1cc0a5d67f50661b9e..0d15422e3e3554390ae4cb06de1cb1dc1248bf5e 100644
--- a/ui/wm/core/base_focus_rules.h
+++ b/ui/wm/core/base_focus_rules.h
@@ -29,6 +29,8 @@ class WM_EXPORT BaseFocusRules : public FocusRules {
bool IsToplevelWindow(aura::Window* window) const override;
bool CanActivateWindow(aura::Window* window) const override;
bool CanFocusWindow(aura::Window* window) const override;
+ bool IsWindowConsideredActivatableForEvent(aura::Window* window,
+ ui::Event* event) const override;
aura::Window* GetToplevelWindow(aura::Window* window) const override;
aura::Window* GetActivatableWindow(aura::Window* window) const override;
aura::Window* GetFocusableWindow(aura::Window* window) const override;

Powered by Google App Engine
This is Rietveld 408576698