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

Unified Diff: chrome/browser/browser_accessibility.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 | « no previous file | chrome/browser/browser_accessibility.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_accessibility.h
===================================================================
--- chrome/browser/browser_accessibility.h (revision 39785)
+++ chrome/browser/browser_accessibility.h (working copy)
@@ -126,12 +126,13 @@
int routing_id() const { return routing_id_; }
private:
- // Creates an empty VARIANT. Used as the equivalent of a NULL (unused) input
- // parameter.
- VARIANT EmptyVariant() const {
- VARIANT empty;
- empty.vt = VT_EMPTY;
- return empty;
+ // Creates a VARIANT that will reference the current accessibility
+ // object, not a child accessibility object.
+ VARIANT ChildSelfVariant() const {
+ VARIANT var;
+ V_VT(&var) = VT_I4;
+ V_I4(&var) = CHILDID_SELF;
+ return var;
}
// Wrapper functions, calling through to singleton instance of
« no previous file with comments | « no previous file | chrome/browser/browser_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698