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. |