| Index: content/browser/accessibility/browser_accessibility.h
|
| diff --git a/content/browser/accessibility/browser_accessibility.h b/content/browser/accessibility/browser_accessibility.h
|
| index b07518bda22fbefb7422e9f39beb364d481732ca..10276e279d375774c9ea17742b57be3f4cabad1d 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);
|
| @@ -279,6 +274,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
|
|
|