diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-15 18:01:01 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-15 18:01:01 +0000 |
commit | 8d37b11e3db0bf4ef7bfb76ae0148d2420eb7cd4 (patch) | |
tree | 2340c444189431df19b1685ecf9ecbe21efc5fb1 /views/controls/button/image_button.h | |
parent | 6417f0b7a24856edba82bd8385a55e940af875c9 (diff) | |
download | chromium_src-8d37b11e3db0bf4ef7bfb76ae0148d2420eb7cd4.zip chromium_src-8d37b11e3db0bf4ef7bfb76ae0148d2420eb7cd4.tar.gz chromium_src-8d37b11e3db0bf4ef7bfb76ae0148d2420eb7cd4.tar.bz2 |
wstring: remove wstrings from all tooltip-related code
This is a nearly-mechanical translation of wstring to string16.
Removes a *ton* of string conversions.
Review URL: http://codereview.chromium.org/7886023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101329 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/button/image_button.h')
-rw-r--r-- | views/controls/button/image_button.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/button/image_button.h b/views/controls/button/image_button.h index 95f4b47..0dc3ab4 100644 --- a/views/controls/button/image_button.h +++ b/views/controls/button/image_button.h @@ -93,13 +93,13 @@ class VIEWS_EXPORT ToggleImageButton : public ImageButton { void SetToggledImage(ButtonState state, const SkBitmap* image); // Set the tooltip text displayed when the button is toggled. - void SetToggledTooltipText(const std::wstring& tooltip); + void SetToggledTooltipText(const string16& tooltip); // Overridden from ImageButton: virtual void SetImage(ButtonState aState, const SkBitmap* anImage); // Overridden from View: - virtual bool GetTooltipText(const gfx::Point& p, std::wstring* tooltip); + virtual bool GetTooltipText(const gfx::Point& p, string16* tooltip); private: // The parent class's images_ member is used for the current images, |