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

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

Issue 2968833002: Move IA2 State handling to AXPlatformNodeWin. (Closed)
Patch Set: Add a TODO() as suggested by dmazzoni 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 void** object) override; 267 void** object) override;
268 268
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();
278
277 // AXPlatformNodeBase overrides. 279 // AXPlatformNodeBase overrides.
278 void Dispose() override; 280 void Dispose() override;
279 281
280 private: 282 private:
281 int MSAAEvent(ui::AXEvent event); 283 int MSAAEvent(ui::AXEvent event);
282 bool IsWebAreaForPresentationalIframe(); 284 bool IsWebAreaForPresentationalIframe();
283 bool ShouldNodeHaveReadonlyState(const AXNodeData& data) const; 285 bool ShouldNodeHaveReadonlyState(const AXNodeData& data) const;
284 bool ShouldNodeHaveFocusableState(const AXNodeData& data) const; 286 bool ShouldNodeHaveFocusableState(const AXNodeData& data) const;
285 287
286 HRESULT GetStringAttributeAsBstr( 288 HRESULT GetStringAttributeAsBstr(
(...skipping 28 matching lines...) Expand all
315 // Does not return a new reference. 317 // Does not return a new reference.
316 AXPlatformNodeWin* GetTargetFromChildID(const VARIANT& var_id); 318 AXPlatformNodeWin* GetTargetFromChildID(const VARIANT& var_id);
317 319
318 // Returns true if this node is in a treegrid. 320 // Returns true if this node is in a treegrid.
319 bool IsInTreeGrid(); 321 bool IsInTreeGrid();
320 }; 322 };
321 323
322 } // namespace ui 324 } // namespace ui
323 325
324 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_ 326 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_
OLDNEW
« no previous file with comments | « ui/accessibility/ax_role_properties.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