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

Unified Diff: components/exo/surface_observer.h

Issue 2640123004: Initial support for native accessibility in ARC (Closed)
Patch Set: Experimental changes Created 3 years, 10 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: components/exo/surface_observer.h
diff --git a/components/exo/surface_observer.h b/components/exo/surface_observer.h
index dd27072676e69364d5727a7e2175f4bb53c63fb2..9855ac439e22ab743a7ab768418c321271b17262 100644
--- a/components/exo/surface_observer.h
+++ b/components/exo/surface_observer.h
@@ -5,6 +5,8 @@
#ifndef COMPONENTS_EXO_SURFACE_OBSERVER_H_
#define COMPONENTS_EXO_SURFACE_OBSERVER_H_
+#include <stdint.h>
+
namespace exo {
class Surface;
@@ -15,6 +17,9 @@ class SurfaceObserver {
// chance to remove themselves.
virtual void OnSurfaceDestroying(Surface* surface) = 0;
+ // Called when a surface has an accessibility tree attached or detached.
+ virtual void OnSurfaceAXTreeChanged(int32_t id) {}
+
protected:
virtual ~SurfaceObserver() {}
};

Powered by Google App Engine
This is Rietveld 408576698