summaryrefslogtreecommitdiffstats
path: root/chrome/browser/find_bar.h
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-19 21:04:11 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-19 21:04:11 +0000
commitba2bd157297d9e5fac3f781ab9951736e9e29eb8 (patch)
tree6ffc8322c5fb83d7dcd620bb14f860bb1568797a /chrome/browser/find_bar.h
parent1fff4a0530c3ef7d2ea5a8af727100ec04a0e3e9 (diff)
downloadchromium_src-ba2bd157297d9e5fac3f781ab9951736e9e29eb8.zip
chromium_src-ba2bd157297d9e5fac3f781ab9951736e9e29eb8.tar.gz
chromium_src-ba2bd157297d9e5fac3f781ab9951736e9e29eb8.tar.bz2
Convert FindInPage wstrings to string16.
Review URL: http://codereview.chromium.org/42408 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12158 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/find_bar.h')
-rw-r--r--chrome/browser/find_bar.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/find_bar.h b/chrome/browser/find_bar.h
index 5ebb188..4b4ee715 100644
--- a/chrome/browser/find_bar.h
+++ b/chrome/browser/find_bar.h
@@ -10,6 +10,7 @@
#define CHROME_BROWSER_FIND_BAR_H_
#include "base/gfx/rect.h"
+#include "base/string16.h"
class FindNotificationDetails;
class WebContents;
@@ -35,12 +36,12 @@ class FindBar {
virtual void StopAnimation() = 0;
// Set the text in the find box.
- virtual void SetFindText(const std::wstring& find_text) = 0;
+ virtual void SetFindText(const string16& find_text) = 0;
// Updates the FindBar with the find result details contained within the
// specified |result|.
virtual void UpdateUIForFindResult(const FindNotificationDetails& result,
- const std::wstring& find_text) = 0;
+ const string16& find_text) = 0;
// Returns the rectangle representing where to position the find bar. It uses
// GetDialogBounds and positions itself within that, either to the left (if an