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

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

Issue 8914009: Reland 8775059 Support IAccessibleHypertext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698