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

Unified Diff: chrome_frame/test/chrome_frame_ui_test_utils.h

Issue 3156026: Add a method for setting the value of an Accessibility object.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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 | « no previous file | chrome_frame/test/chrome_frame_ui_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | chrome_frame/test/chrome_frame_ui_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698