| Index: components/exo/surface.h
|
| diff --git a/components/exo/surface.h b/components/exo/surface.h
|
| index 0aeaa0edaa9481a287195be1f8d3fc6d73a52346..5f5c58f8ea37e4bbbbbb1cc9cfee77625d313034 100644
|
| --- a/components/exo/surface.h
|
| +++ b/components/exo/surface.h
|
| @@ -42,6 +42,7 @@ class Path;
|
| }
|
|
|
| namespace exo {
|
| +class AXTreeSourceSurface;
|
| class Buffer;
|
| class Pointer;
|
| class SurfaceDelegate;
|
| @@ -238,6 +239,10 @@ class Surface : public ui::ContextFactoryObserver,
|
| return pending_damage_.contains(gfx::RectToSkIRect(damage));
|
| }
|
|
|
| + // Sets the accessible tree source for this surface.
|
| + void set_ax_tree_source(AXTreeSourceSurface* tree) { ax_tree_source_ = tree; }
|
| + AXTreeSourceSurface* ax_tree_source() { return ax_tree_source_; }
|
| +
|
| private:
|
| struct State {
|
| State();
|
| @@ -417,6 +422,9 @@ class Surface : public ui::ContextFactoryObserver,
|
| // references to surfaces.
|
| scoped_refptr<cc::SurfaceReferenceFactory> surface_reference_factory_;
|
|
|
| + // Not owned by this class.
|
| + AXTreeSourceSurface* ax_tree_source_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(Surface);
|
| };
|
|
|
|
|