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

Unified Diff: content/browser/android/content_view_render_view.h

Issue 281003002: Make ui::Snapshot asynchronous on Android, remove CompositeAndReadback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: content/browser/android/content_view_render_view.h
diff --git a/content/browser/android/content_view_render_view.h b/content/browser/android/content_view_render_view.h
index cbdb1f19b40f11e039e99e813e3b08e633456295..f29c1af7882132156bc970126e933fdcc69863c1 100644
--- a/content/browser/android/content_view_render_view.h
+++ b/content/browser/android/content_view_render_view.h
@@ -13,6 +13,7 @@
#include "ui/gfx/native_widget_types.h"
namespace cc {
+class CopyOutputResult;
danakj 2014/05/13 23:11:09 oops some leftovers in here... *^^*
danakj 2014/05/13 23:14:04 Fixed.
class Layer;
}
@@ -40,7 +41,6 @@ class ContentViewRenderView : public CompositorClient {
void SurfaceChanged(JNIEnv* env, jobject obj,
jint format, jint width, jint height, jobject surface);
jboolean Composite(JNIEnv* env, jobject obj);
- jboolean CompositeToBitmap(JNIEnv* env, jobject obj, jobject java_bitmap);
void SetOverlayVideoMode(JNIEnv* env, jobject obj, bool enabled);
// CompositorClient implementation
@@ -60,6 +60,8 @@ class ContentViewRenderView : public CompositorClient {
gfx::NativeWindow root_window_;
int current_surface_format_;
+ base::WeakPtrFactory<ContentViewRenderView> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(ContentViewRenderView);
};
« no previous file with comments | « no previous file | content/browser/android/content_view_render_view.cc » ('j') | content/test/gpu/page_sets/pixel_tests.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698