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

Unified Diff: android_webview/browser/browser_view_renderer_client.h

Issue 655813004: Part 1: Refactor Android WebView graphics code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor
Patch Set: rebase Created 6 years, 2 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 ebf5b7bc93e1e77673b2c62cae11a7bd621f8752..aa659c2a082ab94e072e39363d6f3ef401898092 100644
--- a/android_webview/browser/browser_view_renderer_client.h
+++ b/android_webview/browser/browser_view_renderer_client.h
@@ -14,13 +14,6 @@ namespace android_webview {
class BrowserViewRendererClient {
public:
- // Request DrawGL be called. Passing null |canvas| implies the request
- // will be of AwDrawGLInfo::kModeProcess type. |wait_for_completion|
- // will cause the call to block until DrawGL has happened; it does not
- // work when |canvas| is not NULL. The callback may never be made, and
- // the mode may be promoted to kModeDraw.
- virtual bool RequestDrawGL(jobject canvas, bool wait_for_completion) = 0;
-
// Called when a new Picture is available. Needs to be enabled
// via the EnableOnNewPicture method.
virtual void OnNewPicture() = 0;
@@ -28,12 +21,6 @@ class BrowserViewRendererClient {
// Called to trigger view invalidations.
virtual void PostInvalidate() = 0;
- // Called to update the parent draw constraints in browser view renderer.
- virtual void UpdateParentDrawConstraints() = 0;
-
- // Called if commit is skipped due to pipeline stall.
- virtual void DidSkipCommitFrame() = 0;
-
// Called to get view's absolute location on the screen.
virtual gfx::Point GetLocationOnScreen() = 0;

Powered by Google App Engine
This is Rietveld 408576698