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

Unified Diff: components/exo/surface.cc

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.cc
diff --git a/components/exo/surface.cc b/components/exo/surface.cc
index 01115e7f2cccf801d612a643f4203fb82be38fc0..fa9c87221b76a7dbcf7ac6ff96ed8d5889c99e14 100644
--- a/components/exo/surface.cc
+++ b/components/exo/surface.cc
@@ -662,6 +662,17 @@ void Surface::OnUpdateVSyncParameters(base::TimeTicks timebase,
}
////////////////////////////////////////////////////////////////////////////////
+// Accessibility
+//
+void Surface::UpdateAXTreeID(int32_t id) {
+ LOG(ERROR) << "trying to update surface!" << id;
+ for (SurfaceObserver& observer : observers_) {
+ LOG(ERROR) << "update surface!" << id;
+ observer.OnSurfaceAXTreeChanged(id);
+ }
+}
+
+////////////////////////////////////////////////////////////////////////////////
// Buffer, private:
Surface::State::State() : input_region(SkIRect::MakeLargest()) {}

Powered by Google App Engine
This is Rietveld 408576698