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

Unified Diff: android_webview/browser/renderer_host/aw_render_view_host_ext.h

Issue 12041009: [Android WebView] Migrate the rendering code to a separate set of classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated and rebased. Created 7 years, 10 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: 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);
};

Powered by Google App Engine
This is Rietveld 408576698