From 660a3bc6e89109459c9692b864cb2eca485ffa61 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Fri, 16 Sep 2011 18:40:55 +0000 Subject: 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 --- views/views_delegate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views/views_delegate.h') 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; -- cgit v1.1