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

Unified Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2640123004: Initial support for native accessibility in ARC (Closed)
Patch Set: |window| can be nullptr 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: content/browser/frame_host/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index 86c7d56f0bba86c9b7c03fd2db88fbf07656ae6b..a9e7ed28b22db978a34bcd22f13620e213d1e74f 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -127,13 +127,13 @@ class CONTENT_EXPORT RenderFrameHostImpl
static RenderFrameHostImpl* FromID(int process_id, int routing_id);
static RenderFrameHostImpl* FromAXTreeID(
- AXTreeIDRegistry::AXTreeID ax_tree_id);
+ ui::AXTreeIDRegistry::AXTreeID ax_tree_id);
~RenderFrameHostImpl() override;
// RenderFrameHost
int GetRoutingID() override;
- AXTreeIDRegistry::AXTreeID GetAXTreeID() override;
+ ui::AXTreeIDRegistry::AXTreeID GetAXTreeID() override;
SiteInstanceImpl* GetSiteInstance() override;
RenderProcessHost* GetProcess() override;
RenderWidgetHostView* GetView() override;
@@ -499,7 +499,7 @@ class CONTENT_EXPORT RenderFrameHostImpl
// Set the AX tree ID of the embedder RFHI, if this is a browser plugin guest.
void set_browser_plugin_embedder_ax_tree_id(
- AXTreeIDRegistry::AXTreeID ax_tree_id) {
+ ui::AXTreeIDRegistry::AXTreeID ax_tree_id) {
browser_plugin_embedder_ax_tree_id_ = ax_tree_id;
}
@@ -813,11 +813,12 @@ class CONTENT_EXPORT RenderFrameHostImpl
// Map a routing ID from a frame in the same frame tree to a globally
// unique AXTreeID.
- AXTreeIDRegistry::AXTreeID RoutingIDToAXTreeID(int routing_id);
+ ui::AXTreeIDRegistry::AXTreeID RoutingIDToAXTreeID(int routing_id);
// Map a browser plugin instance ID to the AXTreeID of the plugin's
// main frame.
- AXTreeIDRegistry::AXTreeID BrowserPluginInstanceIDToAXTreeID(int routing_id);
+ ui::AXTreeIDRegistry::AXTreeID BrowserPluginInstanceIDToAXTreeID(
+ int routing_id);
// Convert the content-layer-specific AXContentNodeData to a general-purpose
// AXNodeData structure.
@@ -1053,7 +1054,7 @@ class CONTENT_EXPORT RenderFrameHostImpl
AXContentTreeData ax_content_tree_data_;
// The AX tree ID of the embedder, if this is a browser plugin guest.
- AXTreeIDRegistry::AXTreeID browser_plugin_embedder_ax_tree_id_;
+ ui::AXTreeIDRegistry::AXTreeID browser_plugin_embedder_ax_tree_id_;
// The mapping from callback id to corresponding callback for pending
// accessibility tree snapshot calls created by RequestAXTreeSnapshot.

Powered by Google App Engine
This is Rietveld 408576698