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..1e8d8bd8dcf5a108a894042b68480ae463e2159f 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 |
Charlie Reis
2014/08/20 20:37:13
I don't follow why this would track a single child
dmazzoni
2014/08/20 20:57:17
This object would correspond to an actual <iframe>
|
+ // 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(int64 child_frame_id); |
Charlie Reis
2014/08/20 20:37:13
nit: FrameId is ambiguous, between a RenderFrame r
dmazzoni
2014/08/20 20:57:17
Agreed, let me clarify.
dmazzoni
2014/08/25 06:49:36
Done.
|
+ |
protected: |
BrowserAccessibility(); |
@@ -262,7 +268,8 @@ class CONTENT_EXPORT BrowserAccessibility { |
std::string name_; |
std::string value_; |
- private: |
+ int64 child_frame_id_; |
+ |
DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); |
}; |