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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java

Issue 1651933003: Removed few unused methods from ContentViewCore and CVRV (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed CVRV::SetNeedsComposite() as well Created 4 years, 11 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
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
index cba341c2f7120924fd5496f0a619dc72b6136255..a9f0f54a489b682638bab1f4462b3a50279f84e5 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
@@ -136,15 +136,6 @@ public class ContentViewRenderView extends FrameLayout {
}
/**
- * Trigger a redraw of the compositor. This is only needed if the UI changes something that
- * does not trigger a redraw itself by updating the layer tree.
- */
- public void setNeedsComposite() {
- if (mNativeContentViewRenderView == 0) return;
- nativeSetNeedsComposite(mNativeContentViewRenderView);
- }
-
- /**
* This method should be subclassed to provide actions to be performed once the view is ready to
* render.
*/
@@ -189,15 +180,7 @@ public class ContentViewRenderView extends FrameLayout {
}
}
- /**
- * @return Native pointer for the UI resource provider taken from the compositor.
- */
- public long getUIResourceProvider() {
- return nativeGetUIResourceProvider(mNativeContentViewRenderView);
- }
-
private native long nativeInit(long rootWindowNativePointer);
- private native long nativeGetUIResourceProvider(long nativeContentViewRenderView);
private native void nativeDestroy(long nativeContentViewRenderView);
private native void nativeSetCurrentContentViewCore(long nativeContentViewRenderView,
long nativeContentViewCore);
@@ -207,5 +190,4 @@ public class ContentViewRenderView extends FrameLayout {
int format, int width, int height, Surface surface);
private native void nativeSetOverlayVideoMode(long nativeContentViewRenderView,
boolean enabled);
- private native void nativeSetNeedsComposite(long nativeContentViewRenderView);
}
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698