From 232d1b83fbcadc744455b9b1615713d54f974499 Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Sat, 23 May 2009 02:49:34 +0000 Subject: Makes FindBarWin buildable on linux. FindBarWin should be renamed to FindBarViews, but I'm leaving it as is for now. BUG=none TEST=none Review URL: http://codereview.chromium.org/113793 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16830 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/find_bar_view.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chrome/browser/views/find_bar_view.h') diff --git a/chrome/browser/views/find_bar_view.h b/chrome/browser/views/find_bar_view.h index 2a07dff..a769887 100644 --- a/chrome/browser/views/find_bar_view.h +++ b/chrome/browser/views/find_bar_view.h @@ -6,6 +6,7 @@ #define CHROME_BROWSER_VIEWS_FIND_BAR_VIEW_H_ #include "base/gfx/size.h" +#include "base/string16.h" #include "chrome/browser/find_notification_details.h" #include "views/controls/button/button.h" #include "views/controls/text_field.h" @@ -41,12 +42,12 @@ class FindBarView : public views::View, virtual ~FindBarView(); // Sets the text displayed in the text box. - void SetFindText(const std::wstring& find_text); + void SetFindText(const string16& find_text); // Updates the label inside the Find text box that shows the ordinal of the // active item and how many matches were found. void UpdateForResult(const FindNotificationDetails& result, - const std::wstring& find_text); + const string16& find_text); // Claims focus for the text field and selects its contents. void SetFocusAndSelection(); -- cgit v1.1