Index: content/browser/accessibility/browser_accessibility.h |
diff --git a/content/browser/accessibility/browser_accessibility.h b/content/browser/accessibility/browser_accessibility.h |
index 9ae0dc9a2efca4974e20abade9496bed904fcc9f..0dfdd0b1eb3f6240ebd2112dd896800f5c4229c0 100644 |
--- a/content/browser/accessibility/browser_accessibility.h |
+++ b/content/browser/accessibility/browser_accessibility.h |
@@ -55,21 +55,16 @@ class CONTENT_EXPORT BrowserAccessibility { |
// Perform platform specific initialization. This can be called multiple times |
// during the lifetime of this instance after the members of this base object |
// have been reset with new values from the renderer process. |
- virtual void Initialize(); |
- |
- // Optionally send events triggered simply by the fact that this node |
- // has been created or modified (and has been attached to the tree). |
- // This can include "show" events, "text changed" events in live regions, |
- // or "alert" events. |
- virtual void SendNodeUpdateEvents() {} |
+ // Child dependent initialization can be done here. |
+ virtual void PostInitialize() {} |
// Initialize this object, reading attributes from |src|. Does not |
// recurse into children of |src| and build the whole subtree. |
- void Initialize(BrowserAccessibilityManager* manager, |
- BrowserAccessibility* parent, |
- int32 child_id, |
- int32 index_in_parent, |
- const WebAccessibility& src); |
+ void PreInitialize(BrowserAccessibilityManager* manager, |
+ BrowserAccessibility* parent, |
+ int32 child_id, |
+ int32 index_in_parent, |
+ const WebAccessibility& src); |
// Add a child of this object. |
void AddChild(BrowserAccessibility* child); |
@@ -224,6 +219,12 @@ class CONTENT_EXPORT BrowserAccessibility { |
string16 GetTextRecursive() const; |
protected: |
+ // Perform platform specific initialization. This can be called multiple times |
+ // during the lifetime of this instance after the members of this base object |
+ // have been reset with new values from the renderer process. |
+ // Perform child independent initialization in this method. |
+ virtual void PreInitialize(); |
+ |
BrowserAccessibility(); |
// The manager of this tree of accessibility objects; needed for |