summaryrefslogtreecommitdiffstats
path: root/views/views_delegate.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-16 18:40:55 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-16 18:40:55 +0000
commit660a3bc6e89109459c9692b864cb2eca485ffa61 (patch)
tree7806f5ed1d3f84d3f884da3ff3ac946cfd9ec961 /views/views_delegate.h
parent6bab95324e150f614ff630b6821f329a6ea38020 (diff)
downloadchromium_src-660a3bc6e89109459c9692b864cb2eca485ffa61.zip
chromium_src-660a3bc6e89109459c9692b864cb2eca485ffa61.tar.gz
chromium_src-660a3bc6e89109459c9692b864cb2eca485ffa61.tar.bz2
views: Change WidgetDelegate::GetWindowName() to use std::string.
This save us some conversions to and from wide string. R=sky@chromium.org Review URL: http://codereview.chromium.org/7910012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101540 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/views_delegate.h')
-rw-r--r--views/views_delegate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/views_delegate.h b/views/views_delegate.h
index 4b032c3..3499cbc 100644
--- a/views/views_delegate.h
+++ b/views/views_delegate.h
@@ -50,14 +50,14 @@ class VIEWS_EXPORT ViewsDelegate {
// Saves the position, size and "show" state for the window with the
// specified name.
virtual void SaveWindowPlacement(const Widget* widget,
- const std::wstring& window_name,
+ const std::string& window_name,
const gfx::Rect& bounds,
ui::WindowShowState show_state) = 0;
// Retrieves the saved position and size and "show" state for the window with
// the specified name.
virtual bool GetSavedWindowPlacement(
- const std::wstring& window_name,
+ const std::string& window_name,
gfx::Rect* bounds,
ui::WindowShowState* show_state) const = 0;