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

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

Issue 252253002: Implement initial support for nesting one ax tree in another. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address feedback Created 6 years, 7 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.h
diff --git a/content/browser/accessibility/browser_accessibility.h b/content/browser/accessibility/browser_accessibility.h
index 17f70caf675fe7aa1a983d4e057d90e7d1f26f6e..8ddbf48f2eaa26daa1d62978a84b97469f9fc1cd 100644
--- a/content/browser/accessibility/browser_accessibility.h
+++ b/content/browser/accessibility/browser_accessibility.h
@@ -245,6 +245,12 @@ class CONTENT_EXPORT BrowserAccessibility {
// Append the text from this node and its children.
std::string GetTextRecursive() const;
+ // Identifies the given frame id as the only child of this node, so
+ // any call to PlatformChildCount/PlatformGetChild will use
+ // FrameTreeAccessibility to retrieve the BrowserAccessibilityManager
+ // of the child frame and return its root node as this node's child.
+ void SetChildFrameId(uint32 child_frame_id);
+
protected:
BrowserAccessibility();
@@ -262,7 +268,8 @@ class CONTENT_EXPORT BrowserAccessibility {
std::string name_;
std::string value_;
- private:
+ uint32 child_frame_id_;
+
DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility);
};

Powered by Google App Engine
This is Rietveld 408576698