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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 10905058: Upstream the Android port find-in-page feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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: content/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 654ec64056872131c49dc9162a68c8c2562040b6..6a4d924edb8b1fddb015d5458395405ba1db86e9 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -27,6 +27,10 @@
#include "ui/gfx/size.h"
#include "webkit/glue/resource_type.h"
+#if defined(OS_ANDROID)
+#include "ui/gfx/rect_f.h"
+#endif
+
#if defined(OS_WIN)
#include "base/win/scoped_handle.h"
#endif
@@ -525,9 +529,16 @@ class CONTENT_EXPORT WebContentsImpl
const GURL& url,
const string16& title,
bool user_gesture);
- void OnFindReply(int request_id, int number_of_matches,
- const gfx::Rect& selection_rect, int active_match_ordinal,
+ void OnFindReply(int request_id,
+ int number_of_matches,
+ const gfx::Rect& selection_rect,
+ int active_match_ordinal,
bool final_update);
+#if defined(OS_ANDROID)
+ void OnGetFindMatchRectsReply(int version,
+ const std::vector<gfx::RectF>& rects,
+ const gfx::RectF& active_rect);
+#endif
void OnCrashedPlugin(const FilePath& plugin_path);
void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy);
void OnOpenColorChooser(int color_chooser_id, SkColor color);

Powered by Google App Engine
This is Rietveld 408576698