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

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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 232
233 #if defined(OS_ANDROID) 233 #if defined(OS_ANDROID)
234 BrowserAccessibilityManagerAndroid* ToBrowserAccessibilityManagerAndroid(); 234 BrowserAccessibilityManagerAndroid* ToBrowserAccessibilityManagerAndroid();
235 #endif 235 #endif
236 236
237 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(USE_X11) 237 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(USE_X11)
238 BrowserAccessibilityManagerAuraLinux* 238 BrowserAccessibilityManagerAuraLinux*
239 ToBrowserAccessibilityManagerAuraLinux(); 239 ToBrowserAccessibilityManagerAuraLinux();
240 #endif 240 #endif
241 241
242 // Return the object that has focus, if it's a descandant of the 242 // Return the object that has focus, if it's a descendant of the
243 // given root (inclusive). Does not make a new reference. 243 // given root (inclusive). Does not make a new reference.
244 virtual BrowserAccessibility* GetFocus(BrowserAccessibility* root); 244 virtual BrowserAccessibility* GetFocus(BrowserAccessibility* root);
245 245
246 // Return the descentant of the given root that has focus, or that object's 246 // Return the descentant of the given root that has focus, or that object's
247 // active descendant if it has one. 247 // active descendant if it has one.
248 BrowserAccessibility* GetActiveDescendantFocus(BrowserAccessibility* root); 248 BrowserAccessibility* GetActiveDescendantFocus(BrowserAccessibility* root);
249 249
250 // True by default, but some platforms want to treat the root 250 // True by default, but some platforms want to treat the root
251 // scroll offsets separately. 251 // scroll offsets separately.
252 virtual bool UseRootScrollOffsetsWhenComputingBounds(); 252 virtual bool UseRootScrollOffsetsWhenComputingBounds();
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 // node within that parent tree. It's computed as needed and cached for 342 // node within that parent tree. It's computed as needed and cached for
343 // speed so that it can be accessed quickly if it hasn't changed. 343 // speed so that it can be accessed quickly if it hasn't changed.
344 int parent_node_id_from_parent_tree_; 344 int parent_node_id_from_parent_tree_;
345 345
346 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); 346 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager);
347 }; 347 };
348 348
349 } // namespace content 349 } // namespace content
350 350
351 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ 351 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_
OLDNEW
« no previous file with comments | « content/browser/accessibility/browser_accessibility.cc ('k') | content/browser/accessibility/browser_accessibility_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698