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

Unified Diff: content/renderer/render_view_impl.h

Issue 11861008: Expose the capturePicture feature in RenderView for Android WebView legacy API support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index a38bd488778799180e7ec6ff5fa447204f5d0355..3dee46daf3a9c55001be0dcc63ded4ec3a841132 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -733,6 +733,11 @@ class CONTENT_EXPORT RenderViewImpl
const std::string& value) OVERRIDE;
virtual void ClearEditCommands() OVERRIDE;
virtual SSLStatus GetSSLStatusOfFrame(WebKit::WebFrame* frame) const OVERRIDE;
+#if defined(OS_ANDROID)
+ virtual void SetCapturePictureCallback(const CapturePictureCallback& callback)
+ OVERRIDE;
Jói 2013/01/11 18:40:08 nit: Suggest wrapping at the ( so that OVERRIDE is
Leandro Graciá Gil 2013/01/15 20:46:11 Removing method from RenderView.
+ virtual skia::RefPtr<SkPicture> CapturePicture() OVERRIDE;
+#endif
// webkit_glue::WebPluginPageDelegate implementation -------------------------
@@ -807,6 +812,7 @@ class CONTENT_EXPORT RenderViewImpl
std::vector<gfx::Rect>* character_bounds) OVERRIDE;
virtual bool CanComposeInline() OVERRIDE;
virtual bool WebWidgetHandlesCompositorScheduling() const OVERRIDE;
+ virtual void didBecomeReadyForAdditionalInput() OVERRIDE;
protected:
RenderViewImpl(RenderViewImplParams* params);
@@ -1470,6 +1476,9 @@ class CONTENT_EXPORT RenderViewImpl
// A date/time picker object for date and time related input elements.
scoped_ptr<RendererDateTimePicker> date_time_picker_client_;
+
+ // Callback used by Android WebView to receive new picture piles.
+ CapturePictureCallback capture_picture_callback_;
#endif
// Misc ----------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698