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

Unified Diff: chrome/renderer/render_view.h

Issue 2802010: Revert 49594 - Convert page contents grabbing from wide to UTF16. The current... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/437/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
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.h
===================================================================
--- chrome/renderer/render_view.h (revision 50158)
+++ chrome/renderer/render_view.h (working copy)
@@ -654,9 +654,9 @@
// meantime.
void CapturePageInfo(int load_id, bool preliminary_capture);
- // Retrieves the text from the given frame contents, the page text up to the
- // maximum amount kMaxIndexChars will be placed into the given buffer.
- void CaptureText(WebKit::WebFrame* frame, string16* contents);
+ // 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);
// Creates a thumbnail of |frame|'s contents resized to (|w|, |h|)
// and puts that in |thumbnail|. Thumbnail metadata goes in |score|.
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698