Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4071)

Unified Diff: chrome/renderer/render_view.h

Issue 2714012: Convert page contents grabbing from wide to UTF16. The current code is a bit... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/render_view.h
===================================================================
--- chrome/renderer/render_view.h (revision 49439)
+++ chrome/renderer/render_view.h (working copy)
@@ -638,9 +638,9 @@
// meantime.
void CapturePageInfo(int load_id, bool preliminary_capture);
- // Called to retrieve the text from the given frame contents, the page text
- // up to the maximum amount will be placed into the given buffer
- void CaptureText(WebKit::WebFrame* frame, std::wstring* contents);
+ // Retrieves the text from the given frame contents, the page text up to the
+ // maximum amount kMaxIndexChars will be placed into the given buffer
Nico 2010/06/10 21:03:35 .
+ void CaptureText(WebKit::WebFrame* frame, string16* contents);
// Creates a thumbnail of |frame|'s contents resized to (|w|, |h|)
// and puts that in |thumbnail|. Thumbnail metadata goes in |score|.

Powered by Google App Engine
This is Rietveld 408576698