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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 void ActivateFindInPageResult(int request_id); | 222 void ActivateFindInPageResult(int request_id); |
223 | 223 |
224 #if defined(OS_WIN) | 224 #if defined(OS_WIN) |
225 BrowserAccessibilityManagerWin* ToBrowserAccessibilityManagerWin(); | 225 BrowserAccessibilityManagerWin* ToBrowserAccessibilityManagerWin(); |
226 #endif | 226 #endif |
227 | 227 |
228 #if defined(OS_ANDROID) | 228 #if defined(OS_ANDROID) |
229 BrowserAccessibilityManagerAndroid* ToBrowserAccessibilityManagerAndroid(); | 229 BrowserAccessibilityManagerAndroid* ToBrowserAccessibilityManagerAndroid(); |
230 #endif | 230 #endif |
231 | 231 |
232 // Return the object that has focus, if it's a descandant of the | 232 // Return the object that has focus, if it's a descendant of the |
233 // given root (inclusive). Does not make a new reference. | 233 // given root (inclusive). Does not make a new reference. |
234 virtual BrowserAccessibility* GetFocus(BrowserAccessibility* root); | 234 virtual BrowserAccessibility* GetFocus(BrowserAccessibility* root); |
235 | 235 |
236 // Return the descentant of the given root that has focus, or that object's | 236 // Return the descentant of the given root that has focus, or that object's |
237 // active descendant if it has one. | 237 // active descendant if it has one. |
238 BrowserAccessibility* GetActiveDescendantFocus(BrowserAccessibility* root); | 238 BrowserAccessibility* GetActiveDescendantFocus(BrowserAccessibility* root); |
239 | 239 |
240 // True by default, but some platforms want to treat the root | 240 // True by default, but some platforms want to treat the root |
241 // scroll offsets separately. | 241 // scroll offsets separately. |
242 virtual bool UseRootScrollOffsetsWhenComputingBounds(); | 242 virtual bool UseRootScrollOffsetsWhenComputingBounds(); |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 OnScreenKeyboardState osk_state_; | 324 OnScreenKeyboardState osk_state_; |
325 | 325 |
326 BrowserAccessibilityFindInPageInfo find_in_page_info_; | 326 BrowserAccessibilityFindInPageInfo find_in_page_info_; |
327 | 327 |
328 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); | 328 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); |
329 }; | 329 }; |
330 | 330 |
331 } // namespace content | 331 } // namespace content |
332 | 332 |
333 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ | 333 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ |
OLD | NEW |