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

Unified Diff: components/exo/shell_surface.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/shell_surface.h
diff --git a/components/exo/shell_surface.h b/components/exo/shell_surface.h
index d644559c4cd17dd0fb63ae9d44f878761dc6c2e4..2b0d4ce7d2983bb50da92b06d4b78b16d28bdb41 100644
--- a/components/exo/shell_surface.h
+++ b/components/exo/shell_surface.h
@@ -192,6 +192,7 @@ class ShellSurface : public SurfaceDelegate,
// Overridden from SurfaceObserver:
void OnSurfaceDestroying(Surface* surface) override;
+ void OnSurfaceAXTreeChanged(int32_t id) override;
// Overridden from views::WidgetDelegate:
bool CanResize() const override;
@@ -210,6 +211,7 @@ class ShellSurface : public SurfaceDelegate,
// Overridden from views::View:
gfx::Size GetPreferredSize() const override;
gfx::Size GetMinimumSize() const override;
+ void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
// Overridden from ash::wm::WindowStateObserver:
void OnPreWindowStateTypeChange(ash::wm::WindowState* window_state,
@@ -320,6 +322,7 @@ class ShellSurface : public SurfaceDelegate,
std::unique_ptr<ScopedAnimationsDisabled> scoped_animations_disabled_;
int top_inset_height_ = 0;
int pending_top_inset_height_ = 0;
+ uint32_t ax_tree_id_ = 0;
DISALLOW_COPY_AND_ASSIGN(ShellSurface);
};

Powered by Google App Engine
This is Rietveld 408576698