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

Unified Diff: webkit/glue/webframe_impl.h

Issue 62032: Stop serializing WebString over IPC. The new rule is that only POD (plain ol... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 | « webkit/glue/webframe.h ('k') | webkit/glue/webframe_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webframe_impl.h
===================================================================
--- webkit/glue/webframe_impl.h (revision 13158)
+++ webkit/glue/webframe_impl.h (working copy)
@@ -126,11 +126,17 @@
virtual void GetContentAsPlainText(int max_chars, std::wstring* text) const;
virtual bool Find(
- const WebKit::WebFindInPageRequest& request, bool wrap_within_frame,
+ int request_id,
+ const string16& search_text,
+ const WebKit::WebFindOptions& options,
+ bool wrap_within_frame,
gfx::Rect* selection_rect);
virtual void StopFinding(bool clear_selection);
virtual void ScopeStringMatches(
- const WebKit::WebFindInPageRequest& request, bool reset);
+ int request_id,
+ const string16& search_text,
+ const WebKit::WebFindOptions& options,
+ bool reset);
virtual void CancelPendingScopingEffort();
virtual void ResetMatchCount();
virtual bool Visible();
@@ -387,7 +393,7 @@
// It is not necessary if the frame is invisible, for example, or if this
// is a repeat search that already returned nothing last time the same prefix
// was searched.
- bool ShouldScopeMatches(const WebKit::WebFindInPageRequest& request);
+ bool ShouldScopeMatches(const string16& search_text);
// Only for test_shell
int PendingFrameUnloadEventCount() const;
« no previous file with comments | « webkit/glue/webframe.h ('k') | webkit/glue/webframe_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698