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

Unified Diff: android_webview/browser/browser_view_renderer_client.h

Issue 1816283005: Move SharedRendererState ownership to AwContents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/browser_view_renderer_client.h
diff --git a/android_webview/browser/browser_view_renderer_client.h b/android_webview/browser/browser_view_renderer_client.h
index 064f766aa9c3aaf14fb47daa04b32e7b89640d68..ba154b6d31a333d44e05097fb9f3ae200d4922ce 100644
--- a/android_webview/browser/browser_view_renderer_client.h
+++ b/android_webview/browser/browser_view_renderer_client.h
@@ -15,11 +15,6 @@ struct ParentCompositorDrawConstraints;
class BrowserViewRendererClient {
public:
- // Request DrawGL to be in called AwDrawGLInfo::kModeProcess type.
- // |wait_for_completion| will cause the call to block until DrawGL has
- // happened. The callback may never be made, and the mode may be promoted to
- // kModeDraw.
- virtual bool RequestDrawGL(bool wait_for_completion) = 0;
// Called when a new Picture is available. Needs to be enabled
// via the EnableOnNewPicture method.
@@ -30,10 +25,6 @@ class BrowserViewRendererClient {
// calls invalidate.
virtual void PostInvalidate() = 0;
- // Call postInvalidateOnAnimation for invalidations. This is only used to
- // synchronize draw functor destruction.
- virtual void DetachFunctorFromView() = 0;
-
// Called to get view's absolute location on the screen.
virtual gfx::Point GetLocationOnScreen() = 0;
@@ -55,12 +46,6 @@ class BrowserViewRendererClient {
virtual void DidOverscroll(const gfx::Vector2d& overscroll_delta,
const gfx::Vector2dF& overscroll_velocity) = 0;
- // Visible for testing
- // Called when the parent draw constraints in browser view renderer gets
- // updated.
- virtual void ParentDrawConstraintsUpdated(
- const ParentCompositorDrawConstraints& draw_constraints) = 0;
-
protected:
virtual ~BrowserViewRendererClient() {}
};
« no previous file with comments | « android_webview/browser/browser_view_renderer.cc ('k') | android_webview/browser/browser_view_renderer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698