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

Unified Diff: ui/views/accessibility/ax_aura_obj_cache.h

Issue 2803823002: Fix Chrome OS virtual keyboard accessibility (Closed)
Patch Set: 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/views/accessibility/ax_aura_obj_cache.h
diff --git a/ui/views/accessibility/ax_aura_obj_cache.h b/ui/views/accessibility/ax_aura_obj_cache.h
index c73abe1ad858eddc1e5faf347e34e378a02c796f..6236a6bdeb8ef875c5bb44005e59c17c880fc541 100644
--- a/ui/views/accessibility/ax_aura_obj_cache.h
+++ b/ui/views/accessibility/ax_aura_obj_cache.h
@@ -12,6 +12,7 @@
#include <vector>
#include "base/macros.h"
+#include "ui/accessibility/ax_enums.h"
#include "ui/aura/client/focus_change_observer.h"
#include "ui/aura/window_observer.h"
#include "ui/views/views_export.h"
@@ -43,6 +44,8 @@ class VIEWS_EXPORT AXAuraObjCache
class Delegate {
public:
virtual void OnChildWindowRemoved(AXAuraObjWrapper* parent) = 0;
+ virtual void OnEvent(AXAuraObjWrapper* aura_obj,
+ ui::AXEvent event_type) = 0;
};
// Get or create an entry in the cache based on an Aura view.
@@ -85,6 +88,9 @@ class VIEWS_EXPORT AXAuraObjCache
// Send a notification that the focused view may have changed.
void OnFocusedViewChanged();
+ // Tell our delegate to fire an event on a given object.
+ void FireEvent(AXAuraObjWrapper* aura_obj, ui::AXEvent event_type);
+
// Indicates if this object's currently being destroyed.
bool is_destroying() { return is_destroying_; }

Powered by Google App Engine
This is Rietveld 408576698