summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/render_widget_host_view_win.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-15 18:01:01 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-15 18:01:01 +0000
commit8d37b11e3db0bf4ef7bfb76ae0148d2420eb7cd4 (patch)
tree2340c444189431df19b1685ecf9ecbe21efc5fb1 /content/browser/renderer_host/render_widget_host_view_win.h
parent6417f0b7a24856edba82bd8385a55e940af875c9 (diff)
downloadchromium_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 'content/browser/renderer_host/render_widget_host_view_win.h')
-rw-r--r--content/browser/renderer_host/render_widget_host_view_win.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/renderer_host/render_widget_host_view_win.h b/content/browser/renderer_host/render_widget_host_view_win.h
index a1656a6..d2047f3 100644
--- a/content/browser/renderer_host/render_widget_host_view_win.h
+++ b/content/browser/renderer_host/render_widget_host_view_win.h
@@ -164,7 +164,7 @@ class RenderWidgetHostViewWin
// called by TabContents before DestroyWindow
virtual void WillWmDestroy() OVERRIDE;
virtual void Destroy() OVERRIDE;
- virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE;
+ virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE;
virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
virtual void SetBackground(const SkBitmap& background) OVERRIDE;
virtual void SetVisuallyDeemphasized(const SkColor* color,
@@ -341,7 +341,7 @@ class RenderWidgetHostViewWin
// Tooltips
// The text to be shown in the tooltip, supplied by the renderer.
- std::wstring tooltip_text_;
+ string16 tooltip_text_;
// The tooltip control hwnd
HWND tooltip_hwnd_;
// Whether or not a tooltip is currently visible. We use this to track