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

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

Issue 558073002: Hook up guest browser plugins to the accessibility tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cross_process_iframes_plugins_3
Patch Set: Rebase Created 6 years, 3 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 cc97543df27aff4f25551376472fc4478f42bd30..03763f6866713586bb382a6a9fc029f2af7a61aa 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -111,8 +111,8 @@ class CONTENT_EXPORT RenderFrameHostImpl
virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible()
OVERRIDE;
virtual BrowserAccessibilityManager* AccessibilityGetChildFrame(
- int64 frame_tree_node_id) OVERRIDE;
- virtual BrowserAccessibilityManager* AccessibilityGetParentFrame() OVERRIDE;
+ int accessibility_node_id) OVERRIDE;
+ virtual BrowserAccessibility* AccessibilityGetParentFrame() OVERRIDE;
bool CreateRenderFrame(int parent_routing_id);
bool IsRenderFrameLive();
@@ -379,6 +379,18 @@ class CONTENT_EXPORT RenderFrameHostImpl
void PlatformNotificationPermissionRequestDone(
int request_id, blink::WebNotificationPermission permission);
+ // Update the the singleton FrameAccessibility instance with a map
+ // from accessibility node id to the frame routing id of a cross-process
+ // iframe.
+ void UpdateCrossProcessIframeAccessibility(
+ const std::map<int32, int> node_to_frame_routing_id_map);
+
+ // Update the the singleton FrameAccessibility instance with a map
+ // from accessibility node id to the browser plugin instance id of a
+ // guest WebContents.
+ void UpdateGuestFrameAccessibility(
+ const std::map<int32, int> node_to_browser_plugin_instance_id_map);
+
// For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a
// refcount that calls Shutdown when it reaches zero. This allows each
// RenderFrameHostManager to just care about RenderFrameHosts, while ensuring
« no previous file with comments | « content/browser/frame_host/render_frame_host_delegate.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698