summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/find_bar_view.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-23 02:49:34 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-23 02:49:34 +0000
commit232d1b83fbcadc744455b9b1615713d54f974499 (patch)
tree385ea2e2fbacc14b1604721da74a0d226609ef97 /chrome/browser/views/find_bar_view.h
parent51d295b8863dc7e88568c598f908ad4c79ff38b6 (diff)
downloadchromium_src-232d1b83fbcadc744455b9b1615713d54f974499.zip
chromium_src-232d1b83fbcadc744455b9b1615713d54f974499.tar.gz
chromium_src-232d1b83fbcadc744455b9b1615713d54f974499.tar.bz2
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
Diffstat (limited to 'chrome/browser/views/find_bar_view.h')
-rw-r--r--chrome/browser/views/find_bar_view.h5
1 files changed, 3 insertions, 2 deletions
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();