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

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: upload error, re-uploading. 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 678ef1a05740531b6f87802d9bce0eb1bc6f7909..fae35e9b050f1d874815d66d85dc63baab3fe344 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();
-
// Sets the zoom level for text only. Used in layout modes other than
// Text Autosizing.
void SetTextZoomLevel(double level);
@@ -93,8 +77,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