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

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

Issue 2965873002: Move IA2 Role handling to AXPlatformNodeWin. (Closed)
Patch Set: Comment IA2Role Created 3 years, 5 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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 protected: 269 protected:
270 AXPlatformNodeWin(); 270 AXPlatformNodeWin();
271 271
272 int MSAAState(); 272 int MSAAState();
273 273
274 int MSAARole(); 274 int MSAARole();
275 std::string StringOverrideForMSAARole(); 275 std::string StringOverrideForMSAARole();
276 276
277 int32_t IA2State(); 277 int32_t IA2State();
278 278
279 int32_t IA2Role();
280
279 // AXPlatformNodeBase overrides. 281 // AXPlatformNodeBase overrides.
280 void Dispose() override; 282 void Dispose() override;
281 283
282 private: 284 private:
283 int MSAAEvent(ui::AXEvent event); 285 int MSAAEvent(ui::AXEvent event);
284 bool IsWebAreaForPresentationalIframe(); 286 bool IsWebAreaForPresentationalIframe();
285 bool ShouldNodeHaveReadonlyState(const AXNodeData& data) const; 287 bool ShouldNodeHaveReadonlyState(const AXNodeData& data) const;
286 bool ShouldNodeHaveFocusableState(const AXNodeData& data) const; 288 bool ShouldNodeHaveFocusableState(const AXNodeData& data) const;
287 289
288 HRESULT GetStringAttributeAsBstr( 290 HRESULT GetStringAttributeAsBstr(
(...skipping 28 matching lines...) Expand all
317 // Does not return a new reference. 319 // Does not return a new reference.
318 AXPlatformNodeWin* GetTargetFromChildID(const VARIANT& var_id); 320 AXPlatformNodeWin* GetTargetFromChildID(const VARIANT& var_id);
319 321
320 // Returns true if this node is in a treegrid. 322 // Returns true if this node is in a treegrid.
321 bool IsInTreeGrid(); 323 bool IsInTreeGrid();
322 }; 324 };
323 325
324 } // namespace ui 326 } // namespace ui
325 327
326 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_ 328 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_
OLDNEW
« no previous file with comments | « content/browser/accessibility/browser_accessibility_com_win.cc ('k') | ui/accessibility/platform/ax_platform_node_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698