summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view.h
diff options
context:
space:
mode:
authorklink@chromium.org <klink@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-20 20:12:25 +0000
committerklink@chromium.org <klink@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-20 20:12:25 +0000
commit6a983b4e4d28c1e3841f39febeb6a9dd681b53b3 (patch)
treea4b5d6a01066c026338d071076db9ff7dae210f3 /chrome/renderer/render_view.h
parentfe5a8a4ff6f5758f8dbf7e6e9578df97fb8633db (diff)
downloadchromium_src-6a983b4e4d28c1e3841f39febeb6a9dd681b53b3.zip
chromium_src-6a983b4e4d28c1e3841f39febeb6a9dd681b53b3.tar.gz
chromium_src-6a983b4e4d28c1e3841f39febeb6a9dd681b53b3.tar.bz2
Removes all use of COM and dependencies on Windows-specific classes (including the use of AccessibleBase and AccessibleDocument) in the glue accessibility implementation.Introduces the GlueAccessibilityObject, which serves as a platform-independent wrapper directly around WebKit's AccessibilityObject (also platoform-independent).Updates naming/comments to reflect the independence of IAccessible both in glue and (where appropriate) in the browser-side accessibility.
Review URL: http://codereview.chromium.org/46013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12207 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.h')
-rw-r--r--chrome/renderer/render_view.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h
index 05e94c2..ac898bf 100644
--- a/chrome/renderer/render_view.h
+++ b/chrome/renderer/render_view.h
@@ -32,6 +32,7 @@
#include "webkit/glue/feed.h"
#include "webkit/glue/form_data.h"
#include "webkit/glue/password_form_dom_manager.h"
+#include "webkit/glue/webaccessibilitymanager.h"
#include "webkit/glue/webview_delegate.h"
#include "webkit/glue/webview.h"
@@ -48,18 +49,16 @@ class DebugMessageHandler;
class DevToolsAgent;
class DevToolsClient;
class FilePath;
-class GlueAccessibility;
class GURL;
class RenderThread;
class ResourceDispatcher;
class SkBitmap;
+class WebAccessibilityManager;
class WebError;
class WebFrame;
class WebPluginDelegate;
class WebPluginDelegateProxy;
class WebDevToolsAgentDelegate;
-struct AccessibilityInParams;
-struct AccessibilityOutParams;
struct FindInPageRequest;
struct ThumbnailScore;
struct ViewMsg_Navigate_Params;
@@ -74,6 +73,9 @@ class WaitableEvent;
namespace webkit_glue {
struct FileUploadData;
+//class WebAccessibility;
+//struct InParams;
+//struct OutParams;
}
// We need to prevent a page from trying to create infinite popups. It is not
@@ -517,9 +519,10 @@ class RenderView : public RenderWidget,
void OnEnableViewSourceMode();
void OnUpdateBackForwardListCount(int back_list_count,
int forward_list_count);
- void OnGetAccessibilityInfo(const AccessibilityInParams& in_params,
- AccessibilityOutParams* out_params);
- void OnClearAccessibilityInfo(int iaccessible_id, bool clear_all);
+ void OnGetAccessibilityInfo(
+ const webkit_glue::WebAccessibility::InParams& in_params,
+ webkit_glue::WebAccessibility::OutParams* out_params);
+ void OnClearAccessibilityInfo(int acc_obj_id, bool clear_all);
void OnMoveOrResizeStarted();
@@ -756,11 +759,11 @@ class RenderView : public RenderWidget,
// shouldn't count against their own |shared_popup_counter_|.
bool decrement_shared_popup_at_destruction_;
- // TODO(port): revisit once qwe have accessibility
+ // TODO(port): revisit once we have accessibility
#if defined(OS_WIN)
// 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_;
+ scoped_ptr<webkit_glue::WebAccessibilityManager> web_accessibility_manager_;
#endif
// Resource message queue. Used to queue up resource IPCs if we need