Index: android_webview/browser/renderer_host/aw_render_view_host_ext.h |
diff --git a/android_webview/browser/renderer_host/aw_render_view_host_ext.h b/android_webview/browser/renderer_host/aw_render_view_host_ext.h |
index a7d3ed525126c5c87aab38ba5ed2faf90e680f06..d1c09c03a78c84bdc4eae67172659b48f3d10580 100644 |
--- a/android_webview/browser/renderer_host/aw_render_view_host_ext.h |
+++ b/android_webview/browser/renderer_host/aw_render_view_host_ext.h |
@@ -25,17 +25,9 @@ namespace android_webview { |
class AwRenderViewHostExt : public content::WebContentsObserver, |
public base::NonThreadSafe { |
public: |
- class Client { |
- public: |
- virtual void OnPictureUpdated(int process_id, int render_view_id) = 0; |
- |
- protected: |
- virtual ~Client() {} |
- }; |
- |
// To send receive messages to a RenderView we take the WebContents instance, |
// as it internally handles RenderViewHost instances changing underneath us. |
- AwRenderViewHostExt(content::WebContents* contents, Client* client); |
+ AwRenderViewHostExt(content::WebContents* contents); |
virtual ~AwRenderViewHostExt(); |
// |result| will be invoked with the outcome of the request. |
@@ -58,14 +50,6 @@ class AwRenderViewHostExt : public content::WebContentsObserver, |
// the corresponding public WebView API is as well. |
const AwHitTestData& GetLastHitTestData() const; |
- // Enables updating picture piles on every new frame. |
- // OnPictureUpdated is called when a new picture is available, |
- // stored by renderer id in RendererPictureMap. |
- void EnableCapturePictureCallback(bool enabled); |
- |
- // Captures the latest available picture pile synchronously. |
- void CapturePictureSync(); |
- |
private: |
// content::WebContentsObserver implementation. |
virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; |
@@ -89,8 +73,6 @@ class AwRenderViewHostExt : public content::WebContentsObserver, |
bool has_new_hit_test_data_; |
- Client* client_; |
- |
DISALLOW_COPY_AND_ASSIGN(AwRenderViewHostExt); |
}; |