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

Unified Diff: ash/wm/ash_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
« no previous file with comments | « no previous file | ash/wm/ash_focus_rules.cc » ('j') | ui/aura/client/aura_constants.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/ash_focus_rules.h
diff --git a/ash/wm/ash_focus_rules.h b/ash/wm/ash_focus_rules.h
index 97546cd7e977d34c2f6766cd1c0583e77cc77072..e3664d500cdd84de3f949964b71c2fe813337095 100644
--- a/ash/wm/ash_focus_rules.h
+++ b/ash/wm/ash_focus_rules.h
@@ -18,10 +18,6 @@ class ASH_EXPORT AshFocusRules : public ::wm::BaseFocusRules {
AshFocusRules();
~AshFocusRules() override;
- // Tests if the given |window| can be activated, ignoring the system modal
- // dialog state.
- bool IsWindowConsideredActivatable(aura::Window* window) const;
-
private:
// ::wm::BaseFocusRules:
bool IsToplevelWindow(aura::Window* window) const override;
@@ -29,6 +25,8 @@ class ASH_EXPORT AshFocusRules : public ::wm::BaseFocusRules {
bool IsWindowConsideredVisibleForActivation(
aura::Window* window) const override;
bool CanActivateWindow(aura::Window* window) const override;
+ bool IsWindowConsideredActivatableForEvent(aura::Window* window,
+ ui::Event* event) const override;
aura::Window* GetNextActivatableWindow(aura::Window* ignore) const override;
aura::Window* GetTopmostWindowToActivateForContainerIndex(
« no previous file with comments | « no previous file | ash/wm/ash_focus_rules.cc » ('j') | ui/aura/client/aura_constants.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698