summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/web_contents.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/tab_contents/web_contents.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/tab_contents/web_contents.h')
-rw-r--r--chrome/browser/tab_contents/web_contents.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/tab_contents/web_contents.h b/chrome/browser/tab_contents/web_contents.h
index c6c4a26..6e86268 100644
--- a/chrome/browser/tab_contents/web_contents.h
+++ b/chrome/browser/tab_contents/web_contents.h
@@ -195,7 +195,7 @@ class WebContents : public TabContents,
// function does not block while a search is in progress. The controller will
// receive the results through the notification mechanism. See Observe(...)
// for details.
- void StartFinding(const std::wstring& find_text, bool forward_direction);
+ void StartFinding(const string16& find_text, bool forward_direction);
// Stops the current Find operation. If |clear_selection| is true, it will
// also clear the selection on the focused frame.
@@ -216,7 +216,7 @@ class WebContents : public TabContents,
// Accessor for find_text_. Used to determine if this WebContents has any
// active searches.
- std::wstring find_text() const { return find_text_; }
+ string16 find_text() const { return find_text_; }
// Accessor for find_result_.
const FindNotificationDetails& find_result() const { return find_result_; }
@@ -685,7 +685,7 @@ class WebContents : public TabContents,
// The last string we searched for. This is used to figure out if this is a
// Find or a FindNext operation (FindNext should not increase the request id).
- std::wstring find_text_;
+ string16 find_text_;
// The last find result. This object contains details about the number of
// matches, the find selection rectangle, etc. The UI can access this