Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: content/browser/accessibility/browser_accessibility_manager.h

Issue 1195223006: Reports the position of the caret and current selection in content editables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased with master. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 228
229 #if defined(OS_ANDROID) 229 #if defined(OS_ANDROID)
230 BrowserAccessibilityManagerAndroid* ToBrowserAccessibilityManagerAndroid(); 230 BrowserAccessibilityManagerAndroid* ToBrowserAccessibilityManagerAndroid();
231 #endif 231 #endif
232 232
233 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(USE_X11) 233 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(USE_X11)
234 BrowserAccessibilityManagerAuraLinux* 234 BrowserAccessibilityManagerAuraLinux*
235 ToBrowserAccessibilityManagerAuraLinux(); 235 ToBrowserAccessibilityManagerAuraLinux();
236 #endif 236 #endif
237 237
238 // Return the object that has focus, if it's a descandant of the 238 // Return the object that has focus, if it's a descendant of the
239 // given root (inclusive). Does not make a new reference. 239 // given root (inclusive). Does not make a new reference.
240 virtual BrowserAccessibility* GetFocus(BrowserAccessibility* root); 240 virtual BrowserAccessibility* GetFocus(BrowserAccessibility* root);
241 241
242 // Return the descentant of the given root that has focus, or that object's 242 // Return the descentant of the given root that has focus, or that object's
243 // active descendant if it has one. 243 // active descendant if it has one.
244 BrowserAccessibility* GetActiveDescendantFocus(BrowserAccessibility* root); 244 BrowserAccessibility* GetActiveDescendantFocus(BrowserAccessibility* root);
245 245
246 // True by default, but some platforms want to treat the root 246 // True by default, but some platforms want to treat the root
247 // scroll offsets separately. 247 // scroll offsets separately.
248 virtual bool UseRootScrollOffsetsWhenComputingBounds(); 248 virtual bool UseRootScrollOffsetsWhenComputingBounds();
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 OnScreenKeyboardState osk_state_; 330 OnScreenKeyboardState osk_state_;
331 331
332 BrowserAccessibilityFindInPageInfo find_in_page_info_; 332 BrowserAccessibilityFindInPageInfo find_in_page_info_;
333 333
334 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); 334 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager);
335 }; 335 };
336 336
337 } // namespace content 337 } // namespace content
338 338
339 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ 339 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698