| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_WEBACCESSIBILITY_H_ | 5 #ifndef WEBKIT_GLUE_WEBACCESSIBILITY_H_ |
| 6 #define WEBKIT_GLUE_WEBACCESSIBILITY_H_ | 6 #define WEBKIT_GLUE_WEBACCESSIBILITY_H_ |
| 7 | 7 |
| 8 #include "base/string16.h" | 8 #include "base/string16.h" |
| 9 | 9 |
| 10 namespace webkit_glue { | 10 namespace webkit_glue { |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 // information is being called upon on the renderer side. | 110 // information is being called upon on the renderer side. |
| 111 int object_id; | 111 int object_id; |
| 112 | 112 |
| 113 // Identifier to resolve which accessibility information retrieval function | 113 // Identifier to resolve which accessibility information retrieval function |
| 114 // is being called. | 114 // is being called. |
| 115 int function_id; | 115 int function_id; |
| 116 | 116 |
| 117 // Id of accessible child, whose information is being requested. | 117 // Id of accessible child, whose information is being requested. |
| 118 int child_id; | 118 int child_id; |
| 119 | 119 |
| 120 // Indicates if the |child_id| refers to a direct child of the active | |
| 121 // accessibility object (true) or not (false). | |
| 122 bool direct_descendant; | |
| 123 | |
| 124 // LONG input parameters, used differently depending on the function called. | 120 // LONG input parameters, used differently depending on the function called. |
| 125 long input_long1; | 121 long input_long1; |
| 126 long input_long2; | 122 long input_long2; |
| 127 }; | 123 }; |
| 128 | 124 |
| 129 // Parameters structure to hold a union of the possible accessibility function | 125 // Parameters structure to hold a union of the possible accessibility function |
| 130 // OUTPUT variables, with the unused fields always set to default value. Used | 126 // OUTPUT variables, with the unused fields always set to default value. Used |
| 131 // in ViewHostMsg_GetAccessibilityInfoResponse, as only parameter. | 127 // in ViewHostMsg_GetAccessibilityInfoResponse, as only parameter. |
| 132 struct OutParams { | 128 struct OutParams { |
| 133 // Identifier to uniquely distinguish which instance of accessibility | 129 // Identifier to uniquely distinguish which instance of accessibility |
| (...skipping 16 matching lines...) Expand all Loading... |
| 150 // Interface-specific error return codes (e.g. MSAA's E_POINTER, | 146 // Interface-specific error return codes (e.g. MSAA's E_POINTER, |
| 151 // E_INVALIDARG, E_FAIL, E_NOTIMPL) must be handled on the browser side by | 147 // E_INVALIDARG, E_FAIL, E_NOTIMPL) must be handled on the browser side by |
| 152 // input validation. | 148 // input validation. |
| 153 bool return_code; | 149 bool return_code; |
| 154 }; | 150 }; |
| 155 }; | 151 }; |
| 156 | 152 |
| 157 } // namespace webkit_glue | 153 } // namespace webkit_glue |
| 158 | 154 |
| 159 #endif // WEBKIT_GLUE_WEBACCESSIBILITY_H_ | 155 #endif // WEBKIT_GLUE_WEBACCESSIBILITY_H_ |
| OLD | NEW |