| Index: content/browser/accessibility/accessibility_tree_formatter.h
|
| diff --git a/content/browser/accessibility/accessibility_tree_formatter.h b/content/browser/accessibility/accessibility_tree_formatter.h
|
| index 17beff70033b5f207ad3d7116ee2cee98c466698..78bc665fc6551b0e1b082a2af458155cc0ec5441 100644
|
| --- a/content/browser/accessibility/accessibility_tree_formatter.h
|
| +++ b/content/browser/accessibility/accessibility_tree_formatter.h
|
| @@ -112,6 +112,11 @@ class CONTENT_EXPORT AccessibilityTreeFormatter {
|
| // into the given dict.
|
| void AddProperties(const BrowserAccessibility& node, DictionaryValue* dict);
|
|
|
| + // Returns true by default; can be overridden by the platform to
|
| + // prune some children from the tree when they wouldn't be exposed
|
| + // natively on that platform.
|
| + virtual bool IncludeChildren(const BrowserAccessibility& node);
|
| +
|
| string16 FormatCoordinates(const char* name,
|
| const char* x_name,
|
| const char* y_name,
|
|
|