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

Unified Diff: chrome/renderer/render_view.h

Issue 4057: Adds MSAA/IAccessible exposure of web content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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: chrome/renderer/render_view.h
===================================================================
--- chrome/renderer/render_view.h (revision 2530)
+++ chrome/renderer/render_view.h (working copy)
@@ -26,6 +26,7 @@
#include "chrome/renderer/render_widget.h"
#include "webkit/glue/console_message_level.h"
#include "webkit/glue/dom_serializer_delegate.h"
+#include "webkit/glue/glue_accessibility.h"
#include "webkit/glue/webview_delegate.h"
#include "webkit/glue/webview.h"
@@ -418,6 +419,9 @@
void OnEnableViewSourceMode();
void OnUpdateBackForwardListCount(int back_list_count,
int forward_list_count);
+ void OnGetAccessibilityInfo(const ViewMsg_Accessibility_In_Params& in_params,
+ ViewHostMsg_Accessibility_Out_Params* out_params);
+ void OnClearAccessibilityInfo(int iaccessible_id, bool clear_all);
// Checks if the RenderView should close, runs the beforeunload handler and
// sends ViewMsg_ShouldClose to the browser.
@@ -612,6 +616,10 @@
// True if the page has any frame-level unload or beforeunload listeners.
bool has_unload_listener_;
+ // Handles accessibility requests into the renderer side, as well as
+ // maintains the cache and other features of the accessibility tree.
+ scoped_ptr<GlueAccessibility> glue_accessibility_;
+
DISALLOW_EVIL_CONSTRUCTORS(RenderView);
};

Powered by Google App Engine
This is Rietveld 408576698