| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ |
| 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 void ActivateFindInPageResult(int request_id); | 216 void ActivateFindInPageResult(int request_id); |
| 217 | 217 |
| 218 #if defined(OS_WIN) | 218 #if defined(OS_WIN) |
| 219 BrowserAccessibilityManagerWin* ToBrowserAccessibilityManagerWin(); | 219 BrowserAccessibilityManagerWin* ToBrowserAccessibilityManagerWin(); |
| 220 #endif | 220 #endif |
| 221 | 221 |
| 222 #if defined(OS_ANDROID) | 222 #if defined(OS_ANDROID) |
| 223 BrowserAccessibilityManagerAndroid* ToBrowserAccessibilityManagerAndroid(); | 223 BrowserAccessibilityManagerAndroid* ToBrowserAccessibilityManagerAndroid(); |
| 224 #endif | 224 #endif |
| 225 | 225 |
| 226 // Return the object that has focus, if it's a descandant of the | 226 // Return the object that has focus, if it's a descendant of the |
| 227 // given root (inclusive). Does not make a new reference. | 227 // given root (inclusive). Does not make a new reference. |
| 228 virtual BrowserAccessibility* GetFocus(BrowserAccessibility* root); | 228 virtual BrowserAccessibility* GetFocus(BrowserAccessibility* root); |
| 229 | 229 |
| 230 // Return the descentant of the given root that has focus, or that object's | 230 // Return the descentant of the given root that has focus, or that object's |
| 231 // active descendant if it has one. | 231 // active descendant if it has one. |
| 232 BrowserAccessibility* GetActiveDescendantFocus(BrowserAccessibility* root); | 232 BrowserAccessibility* GetActiveDescendantFocus(BrowserAccessibility* root); |
| 233 | 233 |
| 234 // True by default, but some platforms want to treat the root | 234 // True by default, but some platforms want to treat the root |
| 235 // scroll offsets separately. | 235 // scroll offsets separately. |
| 236 virtual bool UseRootScrollOffsetsWhenComputingBounds(); | 236 virtual bool UseRootScrollOffsetsWhenComputingBounds(); |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 OnScreenKeyboardState osk_state_; | 318 OnScreenKeyboardState osk_state_; |
| 319 | 319 |
| 320 BrowserAccessibilityFindInPageInfo find_in_page_info_; | 320 BrowserAccessibilityFindInPageInfo find_in_page_info_; |
| 321 | 321 |
| 322 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); | 322 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); |
| 323 }; | 323 }; |
| 324 | 324 |
| 325 } // namespace content | 325 } // namespace content |
| 326 | 326 |
| 327 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ | 327 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ |
| OLD | NEW |