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

Side by Side Diff: ui/accessibility/platform/ax_platform_node_win.h

Issue 2806093002: Forward AXPlatformNodeWin calls to the right child. (Closed)
Patch Set: Convert get_accChild Created 3 years, 8 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_ 5 #ifndef UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_
6 #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_ 6 #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlcom.h> 9 #include <atlcom.h>
10 #include <oleacc.h> 10 #include <oleacc.h>
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 // Convert from a IA2TextBoundaryType to a ui::TextBoundaryType. 295 // Convert from a IA2TextBoundaryType to a ui::TextBoundaryType.
296 ui::TextBoundaryType IA2TextBoundaryToTextBoundary(IA2TextBoundaryType type); 296 ui::TextBoundaryType IA2TextBoundaryToTextBoundary(IA2TextBoundaryType type);
297 297
298 // Search forwards (direction == 1) or backwards (direction == -1) 298 // Search forwards (direction == 1) or backwards (direction == -1)
299 // from the given offset until the given boundary is found, and 299 // from the given offset until the given boundary is found, and
300 // return the offset of that boundary. 300 // return the offset of that boundary.
301 LONG FindBoundary(const base::string16& text, 301 LONG FindBoundary(const base::string16& text,
302 IA2TextBoundaryType ia2_boundary, 302 IA2TextBoundaryType ia2_boundary,
303 LONG start_offset, 303 LONG start_offset,
304 ui::TextBoundaryDirection direction); 304 ui::TextBoundaryDirection direction);
305
306 // Many MSAA methods take a var_id parameter indicating that the operation
307 // should be performed on a particular child ID, rather than this object.
308 // This method tries to figure out the target object from |var_id| and
309 // returns a pointer to the target object if it exists, otherwise nullptr.
310 // Does not return a new reference.
311 AXPlatformNodeWin* GetTargetFromChildID(const VARIANT& var_id);
305 }; 312 };
306 313
307 } // namespace ui 314 } // namespace ui
308 315
309 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_ 316 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | ui/accessibility/platform/ax_platform_node_win.cc » ('j') | ui/accessibility/platform/ax_platform_node_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698