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

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

Issue 26753005: Adding compositor callbacks to RenderWidgetHostViewAndroid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments and rebased Created 7 years, 1 month 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 65c3874a66fc8e5f3bc03c9572dbc224f0195fba..1bd3899ac3c439b2cf0b69e4985190da79203e91 100644
--- a/content/browser/android/content_view_render_view.h
+++ b/content/browser/android/content_view_render_view.h
@@ -10,6 +10,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "content/public/browser/android/compositor_client.h"
+#include "ui/gfx/native_widget_types.h"
namespace content {
class Compositor;
@@ -19,7 +20,9 @@ class ContentViewRenderView : public CompositorClient {
// Registers the JNI methods for ContentViewRender.
static bool RegisterContentViewRenderView(JNIEnv* env);
- ContentViewRenderView(JNIEnv* env, jobject obj);
+ ContentViewRenderView(JNIEnv* env,
+ jobject obj,
+ gfx::NativeWindow root_window);
// Methods called from Java via JNI -----------------------------------------
void Destroy(JNIEnv* env, jobject obj);
@@ -46,6 +49,8 @@ class ContentViewRenderView : public CompositorClient {
scoped_ptr<content::Compositor> compositor_;
+ gfx::NativeWindow root_window_;
+
DISALLOW_COPY_AND_ASSIGN(ContentViewRenderView);
};

Powered by Google App Engine
This is Rietveld 408576698