diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-27 15:59:32 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-27 15:59:32 +0000 |
commit | d39d60d7205f47ae4e9bb4a6bf0081e54fe2a2e0 (patch) | |
tree | 9eeb34b0210857999c2775db95385995348a2b4f /chrome/views/label.h | |
parent | 865ab47b5a7a0946d4340cc74690745ae44e1059 (diff) | |
download | chromium_src-d39d60d7205f47ae4e9bb4a6bf0081e54fe2a2e0.zip chromium_src-d39d60d7205f47ae4e9bb4a6bf0081e54fe2a2e0.tar.gz chromium_src-d39d60d7205f47ae4e9bb4a6bf0081e54fe2a2e0.tar.bz2 |
Porting in chrome/views/
Some highlights: label, throbber. And others.
Review URL: http://codereview.chromium.org/18757
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8715 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/label.h')
-rw-r--r-- | chrome/views/label.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/views/label.h b/chrome/views/label.h index 3ac82d1..385518d 100644 --- a/chrome/views/label.h +++ b/chrome/views/label.h @@ -126,6 +126,9 @@ class Label : public View { // wrapped). If 0, no maximum width is enforced. void SizeToFit(int max_width); +#if defined(OS_WIN) + // TODO(port): Make portable equivalents of accessibility-related functions. + // Returns the MSAA role of the current view. The role is what assistive // technologies (ATs) use to determine what behavior to expect from a given // control. @@ -138,6 +141,7 @@ class Label : public View { // appropriately, and returns true if a change was performed successfully. // Overriden from View. virtual bool GetAccessibleState(VARIANT* state); +#endif // defined(OS_WIN) private: // These tests call CalculateDrawStringParams in order to verify the |