| 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 |
| 120 // LONG input parameters, used differently depending on the function called. | 124 // LONG input parameters, used differently depending on the function called. |
| 121 long input_long1; | 125 long input_long1; |
| 122 long input_long2; | 126 long input_long2; |
| 123 }; | 127 }; |
| 124 | 128 |
| 125 // Parameters structure to hold a union of the possible accessibility function | 129 // Parameters structure to hold a union of the possible accessibility function |
| 126 // OUTPUT variables, with the unused fields always set to default value. Used | 130 // OUTPUT variables, with the unused fields always set to default value. Used |
| 127 // in ViewHostMsg_GetAccessibilityInfoResponse, as only parameter. | 131 // in ViewHostMsg_GetAccessibilityInfoResponse, as only parameter. |
| 128 struct OutParams { | 132 struct OutParams { |
| 129 // Identifier to uniquely distinguish which instance of accessibility | 133 // Identifier to uniquely distinguish which instance of accessibility |
| (...skipping 16 matching lines...) Expand all Loading... |
| 146 // Interface-specific error return codes (e.g. MSAA's E_POINTER, | 150 // Interface-specific error return codes (e.g. MSAA's E_POINTER, |
| 147 // E_INVALIDARG, E_FAIL, E_NOTIMPL) must be handled on the browser side by | 151 // E_INVALIDARG, E_FAIL, E_NOTIMPL) must be handled on the browser side by |
| 148 // input validation. | 152 // input validation. |
| 149 bool return_code; | 153 bool return_code; |
| 150 }; | 154 }; |
| 151 }; | 155 }; |
| 152 | 156 |
| 153 } // namespace webkit_glue | 157 } // namespace webkit_glue |
| 154 | 158 |
| 155 #endif // WEBKIT_GLUE_WEBACCESSIBILITY_H_ | 159 #endif // WEBKIT_GLUE_WEBACCESSIBILITY_H_ |
| OLD | NEW |