| 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 ec1df1b8722e56f5735bff660c13dd779fa109d9..2d3c9e0fa9252909712f9ef45949f3160c781e94 100644
|
| --- a/content/browser/accessibility/browser_accessibility_manager.h
|
| +++ b/content/browser/accessibility/browser_accessibility_manager.h
|
| @@ -137,6 +137,10 @@ class CONTENT_EXPORT BrowserAccessibilityManager {
|
| // focus event on a text box?
|
| bool IsOSKAllowed(const gfx::Rect& bounds);
|
|
|
| + // True by default, but some platforms want to treat the root
|
| + // scroll offsets separately.
|
| + virtual bool UseRootScrollOffsetsWhenComputingBounds();
|
| +
|
| // For testing only: update the given nodes as if they were
|
| // received from the renderer process in OnAccessibilityNotifications.
|
| // Takes up to 7 nodes at once so tests don't need to create a vector
|
| @@ -158,6 +162,8 @@ class CONTENT_EXPORT BrowserAccessibilityManager {
|
|
|
| virtual void AddNodeToMap(BrowserAccessibility* node);
|
|
|
| + virtual void NotifyRootChanged() {}
|
| +
|
| private:
|
| // The following states keep track of whether or not the
|
| // on-screen keyboard is allowed to be shown.
|
| @@ -189,6 +195,8 @@ class CONTENT_EXPORT BrowserAccessibilityManager {
|
| // process. Returns true on success, false on fatal error.
|
| bool UpdateNode(const AccessibilityNodeData& src);
|
|
|
| + void SetRoot(BrowserAccessibility* root);
|
| +
|
| BrowserAccessibility* CreateNode(
|
| BrowserAccessibility* parent,
|
| int32 renderer_id,
|
|
|