Chromium Code Reviews| Index: content/public/browser/web_contents_delegate.h |
| diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h |
| index 5a339aec3d06e456acf4cd0e72c0c92ab85b4295..420b41a8689a6962aa4ca4395becd1bf339c261f 100644 |
| --- a/content/public/browser/web_contents_delegate.h |
| +++ b/content/public/browser/web_contents_delegate.h |
| @@ -18,6 +18,7 @@ |
| #include "content/public/common/window_container_type.h" |
| #include "third_party/skia/include/core/SkColor.h" |
| #include "ui/gfx/native_widget_types.h" |
| +#include "ui/gfx/rect_f.h" |
| #include "webkit/glue/window_open_disposition.h" |
| class FilePath; |
| @@ -394,6 +395,15 @@ class CONTENT_EXPORT WebContentsDelegate { |
| int active_match_ordinal, |
| bool final_update) {} |
| +#if defined(OS_ANDROID) |
| + // Provides the rects of the current find-in-page matches. |
| + // Sent as a reply to RequestFindMatchRects. |
| + virtual void GetFindMatchRectsReply(WebContents* web_contents, |
|
jam
2012/09/04 16:39:09
nit: get rid of the "Get" in the method name, it's
Leandro GraciĆ” Gil
2012/09/04 18:25:50
Done.
|
| + int version, |
| + const std::vector<gfx::RectF>& rects, |
| + const gfx::RectF& active_rect) {} |
| +#endif |
| + |
| // Invoked when the preferred size of the contents has been changed. |
| virtual void UpdatePreferredSize(WebContents* web_contents, |
| const gfx::Size& pref_size) {} |