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

Unified Diff: webkit/glue/webaccessibilitymanager.h

Issue 115374: Adds propagation and handling of render-side focus events, for the benefit of... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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: webkit/glue/webaccessibilitymanager.h
===================================================================
--- webkit/glue/webaccessibilitymanager.h (revision 16095)
+++ webkit/glue/webaccessibilitymanager.h (working copy)
@@ -7,6 +7,10 @@
#include "webkit/glue/webaccessibility.h"
+namespace WebCore {
+class AccessibilityObject;
+}
+
class WebView;
////////////////////////////////////////////////////////////////////////////////
@@ -24,6 +28,7 @@
WebAccessibilityManager() {}
virtual ~WebAccessibilityManager() {}
+ // Creates a new instance of WebAccessibilityManager.
static WebAccessibilityManager* Create();
// Retrieves the accessibility information as requested in in_params, by
@@ -39,13 +44,17 @@
// false otherwise.
virtual bool ClearAccObjMap(int acc_obj_id, bool clear_all) = 0;
+ // Retrieves the id of the input AccessibilityObject, due to a focus event.
+ // Returns an id greater than or equal to 0 if successful, -1 otherwise.
+ virtual int FocusAccObj(WebCore::AccessibilityObject* acc_obj) = 0;
+
+ private:
// Retrieves the RenderObject associated with this WebView, and uses it to
// initialize the root of the GlueAccessibilityObject tree with the
// associated accessibility information. Returns true if successful, false
// otherwise.
virtual bool InitAccObjRoot(WebView* view) = 0;
- private:
DISALLOW_COPY_AND_ASSIGN(WebAccessibilityManager);
};

Powered by Google App Engine
This is Rietveld 408576698