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

Unified Diff: webkit/glue/webaccessibility.h

Issue 657020: Landing Chris Guillory CL.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/glue/webaccessibility.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webaccessibility.h
===================================================================
--- webkit/glue/webaccessibility.h (revision 39785)
+++ webkit/glue/webaccessibility.h (working copy)
@@ -123,6 +123,12 @@
STATE_UNAVAILABLE
};
+ enum ReturnCode {
+ RETURNCODE_TRUE, // MSAA S_OK
+ RETURNCODE_FALSE, // MSAA S_FALSE
+ RETURNCODE_FAIL // E_FAIL
+ };
+
// Parameters structure to hold a union of the possible accessibility function
// INPUT variables, with the unused fields always set to default value. Used
// in ViewMsg_GetAccessibilityInfo, as only parameter.
@@ -163,14 +169,11 @@
// String output parameter.
string16 output_string;
- // Return code, either true (MSAA S_OK) or false (MSAA S_FALSE).
- // Interface-specific error return codes (e.g. MSAA's E_POINTER,
- // E_INVALIDARG, E_FAIL, E_NOTIMPL) must be handled on the browser side by
- // input validation.
- bool return_code;
+ // Return code of the accessibility function call.
+ int32 return_code;
};
- static bool GetAccObjInfo(WebKit::WebAccessibilityCache* cache,
+ static int32 GetAccObjInfo(WebKit::WebAccessibilityCache* cache,
const InParams& in_params, OutParams* out_params);
};
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/glue/webaccessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698