Index: chrome_frame/test/chrome_frame_ui_test_utils.h |
=================================================================== |
--- chrome_frame/test/chrome_frame_ui_test_utils.h (revision 56373) |
+++ chrome_frame/test/chrome_frame_ui_test_utils.h (working copy) |
@@ -40,6 +40,10 @@ |
// created AccObject. |
static AccObject* CreateFromWindow(HWND hwnd); |
+ // Creates an AccObject corresponding to the object that generated a |
+ // WinEvent. Returns NULL on failure. |
+ static AccObject* CreateFromEvent(HWND hwnd, LONG object_id, LONG child_id); |
+ |
// Creates an AccObject from querying the given IDispatch. May return NULL |
// if the object does not implement IAccessible. The client owns the created |
// AccObject. |
@@ -63,6 +67,9 @@ |
// test failure if the object is not selected. |
bool Select(); |
+ // Sets the value of the object. Will cause test failure if unsuccessful. |
+ bool SetValue(const std::wstring& value); |
+ |
// Gets the name of the object and returns true on success. |
bool GetName(std::wstring* name); |