summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views
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/views
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/views')
-rw-r--r--chrome/browser/views/find_bar_win.cc4
-rw-r--r--chrome/browser/views/find_bar_win.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/views/find_bar_win.cc b/chrome/browser/views/find_bar_win.cc
index d653df4..3a9fe05 100644
--- a/chrome/browser/views/find_bar_win.cc
+++ b/chrome/browser/views/find_bar_win.cc
@@ -207,7 +207,7 @@ void FindBarWin::StopAnimation() {
animation_->End();
}
-void FindBarWin::SetFindText(const std::wstring& find_text) {
+void FindBarWin::SetFindText(const string16& find_text) {
view_->SetFindText(find_text);
}
@@ -477,7 +477,7 @@ void FindBarWin::UnregisterEscAccelerator() {
}
void FindBarWin::UpdateUIForFindResult(const FindNotificationDetails& result,
- const std::wstring& find_text) {
+ const string16& find_text) {
view_->UpdateForResult(result, find_text);
// We now need to check if the window is obscuring the search results.
diff --git a/chrome/browser/views/find_bar_win.h b/chrome/browser/views/find_bar_win.h
index ed53212..99eb1cb 100644
--- a/chrome/browser/views/find_bar_win.h
+++ b/chrome/browser/views/find_bar_win.h
@@ -82,9 +82,9 @@ class FindBarWin : public views::FocusChangeListener,
virtual void SetFocusAndSelection();
virtual void ClearResults(const FindNotificationDetails& results);
virtual void StopAnimation();
- virtual void SetFindText(const std::wstring& find_text);
+ virtual void SetFindText(const string16& find_text);
virtual void UpdateUIForFindResult(const FindNotificationDetails& result,
- const std::wstring& find_text);
+ const string16& find_text);
virtual gfx::Rect GetDialogPosition(gfx::Rect avoid_overlapping_rect);
virtual void SetDialogPosition(const gfx::Rect& new_pos, bool no_redraw);
virtual bool IsFindBarVisible();