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

Unified Diff: content/public/browser/android/compositor.h

Issue 26753005: Adding compositor callbacks to RenderWidgetHostViewAndroid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: host observers through WindowAndroid 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/public/browser/android/compositor.h
diff --git a/content/public/browser/android/compositor.h b/content/public/browser/android/compositor.h
index 053a45496cdc781ea7fcf40e439d18e86626ed76..4c17a2f3339a15531f5c11b4b7c434040e4b2f9b 100644
--- a/content/public/browser/android/compositor.h
+++ b/content/public/browser/android/compositor.h
@@ -23,6 +23,10 @@ namespace gfx {
class JavaBitmap;
}
+namespace ui {
+class WindowAndroid;
+}
+
namespace content {
class CompositorClient;
@@ -36,7 +40,8 @@ class CONTENT_EXPORT Compositor {
static void Initialize();
// Creates and returns a compositor instance.
- static Compositor* Create(CompositorClient* client);
+ static Compositor* Create(CompositorClient* client,
+ ui::WindowAndroid* window_android);
no sievers 2013/11/14 22:01:01 nit: |root_window|? Can you also use the common ty
powei 2013/11/15 02:18:26 Done.
// Attaches the layer tree.
virtual void SetRootLayer(scoped_refptr<cc::Layer> root) = 0;

Powered by Google App Engine
This is Rietveld 408576698