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

Unified Diff: content/browser/accessibility/browser_accessibility_manager.h

Issue 7745035: Add a big grab bag of missing web accessibility functionality... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/accessibility/browser_accessibility_manager.h
===================================================================
--- content/browser/accessibility/browser_accessibility_manager.h (revision 98956)
+++ content/browser/accessibility/browser_accessibility_manager.h (working copy)
@@ -19,10 +19,10 @@
class BrowserAccessibilityManagerWin;
#endif
+using webkit_glue::WebAccessibility;
+
struct ViewHostMsg_AccessibilityNotification_Params;
-using webkit_glue::WebAccessibility;
-
// Class that can perform actions on behalf of the BrowserAccessibilityManager.
class BrowserAccessibilityDelegate {
public:
@@ -63,7 +63,7 @@
virtual ~BrowserAccessibilityManager();
- // Type is a ViewHostMsg_AccessibilityNotification_Params::int.
+ // Type is a ViewHostMsg_AccessibilityNotification_Type::int.
// We pass it as int so that we don't include the render message declaration
// header here.
virtual void NotifyAccessibilityEvent(
@@ -125,18 +125,18 @@
BrowserAccessibilityFactory* factory);
private:
- void OnAccessibilityObjectStateChange(
- const WebAccessibility& acc_obj);
- void OnAccessibilityObjectChildrenChange(
- const WebAccessibility& acc_obj);
+ // Type is a ViewHostMsg_AccessibilityNotification_Type::int.
+ // We pass it as int so that we don't include the render message declaration
+ // header here.
+ void OnSimpleAccessibilityNotification(
+ const WebAccessibility& acc_obj,
+ int type,
+ bool include_children);
+
void OnAccessibilityObjectFocusChange(
const WebAccessibility& acc_obj);
void OnAccessibilityObjectLoadComplete(
const WebAccessibility& acc_obj);
- void OnAccessibilityObjectValueChange(
- const WebAccessibility& acc_obj);
- void OnAccessibilityObjectTextChange(
- const WebAccessibility& acc_obj);
// Update an accessibility node with an updated WebAccessibility node
// received from the renderer process. When |include_children| is true
@@ -152,7 +152,8 @@
BrowserAccessibility* CreateAccessibilityTree(
BrowserAccessibility* parent,
const WebAccessibility& src,
- int index_in_parent);
+ int index_in_parent,
+ bool send_show_events);
protected:
// The next unique id for a BrowserAccessibility instance.
« no previous file with comments | « content/browser/accessibility/browser_accessibility.cc ('k') | content/browser/accessibility/browser_accessibility_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698