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

Side by Side Diff: content/browser/frame_host/render_frame_host_delegate.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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 const MediaStreamRequest& request, 130 const MediaStreamRequest& request,
131 const MediaResponseCallback& callback); 131 const MediaResponseCallback& callback);
132 132
133 // Get the accessibility mode for the WebContents that owns this frame. 133 // Get the accessibility mode for the WebContents that owns this frame.
134 virtual AccessibilityMode GetAccessibilityMode() const; 134 virtual AccessibilityMode GetAccessibilityMode() const;
135 135
136 // Invoked when an accessibility event is received from the renderer. 136 // Invoked when an accessibility event is received from the renderer.
137 virtual void AccessibilityEventReceived( 137 virtual void AccessibilityEventReceived(
138 const std::vector<AXEventNotificationDetails>& details) {} 138 const std::vector<AXEventNotificationDetails>& details) {}
139 139
140 // Find a guest RenderFrameHost by its browser plugin instance id.
141 virtual RenderFrameHost* GetGuestByInstanceID(
142 int browser_plugin_instance_id);
143
140 #if defined(OS_WIN) 144 #if defined(OS_WIN)
141 // Returns the frame's parent's NativeViewAccessible. 145 // Returns the frame's parent's NativeViewAccessible.
142 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); 146 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible();
143 #endif 147 #endif
144 148
145 protected: 149 protected:
146 virtual ~RenderFrameHostDelegate() {} 150 virtual ~RenderFrameHostDelegate() {}
147 }; 151 };
148 152
149 } // namespace content 153 } // namespace content
150 154
151 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 155 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/frame_accessibility.cc ('k') | content/browser/frame_host/render_frame_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698