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

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

Issue 1706353002: Added the selected text marker range to the dictionary for the selection change notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Now works the first time you start the browser. Created 4 years, 10 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 #endif 244 #endif
245 245
246 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(USE_X11) 246 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(USE_X11)
247 BrowserAccessibilityManagerAuraLinux* 247 BrowserAccessibilityManagerAuraLinux*
248 ToBrowserAccessibilityManagerAuraLinux(); 248 ToBrowserAccessibilityManagerAuraLinux();
249 #endif 249 #endif
250 250
251 // Return the object that has focus, if it's a descendant of the 251 // Return the object that has focus, if it's a descendant of the
252 // given root (inclusive). Does not make a new reference. 252 // given root (inclusive). Does not make a new reference.
253 virtual BrowserAccessibility* GetFocus(BrowserAccessibility* root); 253 virtual BrowserAccessibility* GetFocus(BrowserAccessibility* root);
254 virtual BrowserAccessibility* GetFocus();
dmazzoni 2016/02/18 21:16:42 fwiw, this will conflict with a change i'm hoping
254 255
255 // Return the descentant of the given root that has focus, or that object's 256 // Return the descentant of the given root that has focus, or that object's
256 // active descendant if it has one. 257 // active descendant if it has one.
257 BrowserAccessibility* GetActiveDescendantFocus(BrowserAccessibility* root); 258 BrowserAccessibility* GetActiveDescendantFocus(BrowserAccessibility* root);
258 259
259 // Returns true if native focus is anywhere in this WebContents or not. 260 // Returns true if native focus is anywhere in this WebContents or not.
260 bool NativeViewHasFocus(); 261 bool NativeViewHasFocus();
261 262
262 // True by default, but some platforms want to treat the root 263 // True by default, but some platforms want to treat the root
263 // scroll offsets separately. 264 // scroll offsets separately.
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 // node within that parent tree. It's computed as needed and cached for 387 // node within that parent tree. It's computed as needed and cached for
387 // speed so that it can be accessed quickly if it hasn't changed. 388 // speed so that it can be accessed quickly if it hasn't changed.
388 int parent_node_id_from_parent_tree_; 389 int parent_node_id_from_parent_tree_;
389 390
390 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); 391 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager);
391 }; 392 };
392 393
393 } // namespace content 394 } // namespace content
394 395
395 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ 396 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698