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

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

Issue 407493004: Revert of Revert of Migrate accessibility from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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_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 4d53936c113471097272f1a2bf54cc42ce78bd80..6150d46329d7ebe97afaeeb0d9d15a1748aed2c1 100644
--- a/content/browser/frame_host/render_frame_host_delegate.h
+++ b/content/browser/frame_host/render_frame_host_delegate.h
@@ -5,11 +5,18 @@
#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 "base/i18n/rtl.h"
#include "content/common/content_export.h"
+#include "content/common/frame_message_enums.h"
#include "content/public/common/javascript_message_type.h"
#include "content/public/common/media_stream_request.h"
+
+#if defined(OS_WIN)
+#include "ui/gfx/native_widget_types.h"
+#endif
class GURL;
@@ -20,6 +27,7 @@
namespace content {
class RenderFrameHost;
class WebContents;
+struct AXEventNotificationDetails;
struct ContextMenuParams;
// An interface implemented by an object interested in knowing about the state
@@ -119,6 +127,18 @@
const MediaStreamRequest& request,
const MediaResponseCallback& callback);
+ // Get the accessibility mode for the WebContents that owns this frame.
+ 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() {}
};
« no previous file with comments | « content/browser/frame_host/interstitial_page_impl.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