Index: content/browser/accessibility/browser_accessibility_manager.h |
diff --git a/content/browser/accessibility/browser_accessibility_manager.h b/content/browser/accessibility/browser_accessibility_manager.h |
index c0e59fa1d68548408bbe583a39e5ec8faf056fb4..765ac4d971f3e418b9de01ca2669deedbb134b90 100644 |
--- a/content/browser/accessibility/browser_accessibility_manager.h |
+++ b/content/browser/accessibility/browser_accessibility_manager.h |
@@ -75,6 +75,8 @@ class CONTENT_EXPORT BrowserAccessibilityDelegate { |
virtual gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() = 0; |
virtual BrowserAccessibilityManager* AccessibilityGetChildFrame( |
int accessibility_node_id) = 0; |
+ virtual void AccessibilityGetAllChildFrames( |
+ std::vector<BrowserAccessibilityManager*>* child_frames) = 0; |
virtual BrowserAccessibility* AccessibilityGetParentFrame() = 0; |
}; |
@@ -244,6 +246,11 @@ class CONTENT_EXPORT BrowserAccessibilityManager : public ui::AXTreeDelegate { |
delegate_ = delegate; |
} |
+ // If this BrowserAccessibilityManager is a child frame or guest frame, |
+ // return the BrowserAccessibilityDelegate from the highest ancestor frame |
+ // in the frame tree. |
+ BrowserAccessibilityDelegate* GetDelegateFromRootManager(); |
+ |
// Get a snapshot of the current tree as an AXTreeUpdate. |
ui::AXTreeUpdate SnapshotAXTreeForTesting(); |