@@ -32,19 +32,6 @@ class AccessibilityAlert : public CComObjectRootEx<CComMultiThreadModel>,
32
32
VARIANT* child) override ;
33
33
34
34
// Performs the object's default action.
35
- IFACEMETHODIMP accDoDefaultAction (VARIANT var_id) override ;
36
-
37
- // Retrieves the specified object's current screen location.
38
- IFACEMETHODIMP accLocation (LONG* physical_pixel_left,
39
- LONG* physical_pixel_top,
40
- LONG* width,
41
- LONG* height,
42
- VARIANT var_id) override ;
43
-
44
- // Traverses to another UI element and retrieves the object.
45
- IFACEMETHODIMP accNavigate (LONG nav_dir,
46
- VARIANT start,
47
- VARIANT* end) override ;
48
35
49
36
// Retrieves an IDispatch interface pointer for the specified child.
50
37
IFACEMETHODIMP get_accChild (VARIANT var_child,
@@ -61,11 +48,6 @@ class AccessibilityAlert : public CComObjectRootEx<CComMultiThreadModel>,
61
48
IFACEMETHODIMP get_accDescription (VARIANT var_id, BSTR* desc) override ;
62
49
63
50
// Retrieves the object that has the keyboard focus.
64
- IFACEMETHODIMP get_accFocus (VARIANT* focus_child) override ;
65
-
66
- // Retrieves the specified object's shortcut.
67
- IFACEMETHODIMP get_accKeyboardShortcut (VARIANT var_id,
68
- BSTR* access_key) override ;
69
51
70
52
// Retrieves the name of the specified object.
71
53
IFACEMETHODIMP get_accName (VARIANT var_id, BSTR* name) override ;
@@ -86,15 +68,27 @@ class AccessibilityAlert : public CComObjectRootEx<CComMultiThreadModel>,
86
68
// Setting the value is not typically used by screen readers, but it's
87
69
// used frequently by automation software.
88
70
IFACEMETHODIMP get_accValue (VARIANT var_id, BSTR* value) override ;
89
- IFACEMETHODIMP put_accValue (VARIANT var_id, BSTR new_value) override ;
90
71
91
72
// IAccessible methods not implemented.
73
+ IFACEMETHODIMP accLocation (LONG* physical_pixel_left,
74
+ LONG* physical_pixel_top,
75
+ LONG* width,
76
+ LONG* height,
77
+ VARIANT var_id) override ;
78
+ IFACEMETHODIMP accNavigate (LONG nav_dir,
79
+ VARIANT start,
80
+ VARIANT* end) override ;
81
+ IFACEMETHODIMP accDoDefaultAction (VARIANT var_id) override ;
82
+ IFACEMETHODIMP get_accFocus (VARIANT* focus_child) override ;
83
+ IFACEMETHODIMP get_accKeyboardShortcut (VARIANT var_id,
84
+ BSTR* access_key) override ;
92
85
IFACEMETHODIMP get_accSelection (VARIANT* selected) override ;
93
86
IFACEMETHODIMP accSelect (LONG flags_sel, VARIANT var_id) override ;
94
87
IFACEMETHODIMP get_accHelpTopic (BSTR* help_file,
95
88
VARIANT var_id,
96
89
LONG* topic_id) override ;
97
90
IFACEMETHODIMP put_accName (VARIANT var_id, BSTR put_name) override ;
91
+ IFACEMETHODIMP put_accValue (VARIANT var_id, BSTR new_value) override ;
98
92
99
93
AccessibilityAlert ();
100
94
~AccessibilityAlert () = default ;
0 commit comments