Index: content/browser/frame_host/render_frame_host_delegate.h |
diff --git a/content/browser/frame_host/render_frame_host_delegate.h b/content/browser/frame_host/render_frame_host_delegate.h |
index fbc4613b2baa5a90db5cc68c22f9ad1984bc8149..f1908d1112fc73414d58bd63c136b58154406c8f 100644 |
--- a/content/browser/frame_host/render_frame_host_delegate.h |
+++ b/content/browser/frame_host/render_frame_host_delegate.h |
@@ -5,10 +5,17 @@ |
#ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
#define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
+#include <vector> |
+ |
#include "base/basictypes.h" |
#include "content/common/content_export.h" |
+#include "content/common/frame_message_enums.h" |
#include "content/public/common/javascript_message_type.h" |
+#if defined(OS_WIN) |
+#include "ui/gfx/native_widget_types.h" |
+#endif |
+ |
class GURL; |
namespace IPC { |
@@ -18,6 +25,7 @@ class Message; |
namespace content { |
class RenderFrameHost; |
class WebContents; |
+struct AXEventNotificationDetails; |
struct ContextMenuParams; |
// An interface implemented by an object interested in knowing about the state |
@@ -95,6 +103,18 @@ class CONTENT_EXPORT RenderFrameHostDelegate { |
// not a WebContents, returns NULL. |
virtual WebContents* GetAsWebContents(); |
+ // Get the accessibility mode for all frames in this WebContents. |
nasko
2014/05/12 17:28:01
nit: This wording reads as though it will return t
dmazzoni
2014/05/13 06:36:52
Good point. I clarified the wording.
|
+ virtual AccessibilityMode GetAccessibilityMode() const; |
+ |
+ // Invoked when an accessibility event is received from the renderer. |
+ virtual void AccessibilityEventReceived( |
+ const std::vector<AXEventNotificationDetails>& details) {} |
+ |
+#if defined(OS_WIN) |
+ // Returns the frame's parent's NativeViewAccessible. |
+ virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); |
+#endif |
+ |
protected: |
virtual ~RenderFrameHostDelegate() {} |
}; |