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

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

Issue 11428091: Migrate the Android compositor to cc::Layer classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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 998c22d66f5a7856e259bfe915f9e833a0cfbba2..bca7fe797a3cfb558eececb3152e814bdfa5d1e2 100644
--- a/content/public/browser/android/compositor.h
+++ b/content/public/browser/android/compositor.h
@@ -13,12 +13,12 @@
#include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3D.h"
-namespace gfx {
-class JavaBitmap;
+namespace cc {
+class Layer;
}
-namespace WebKit {
-class WebLayer;
+namespace gfx {
+class JavaBitmap;
}
namespace content {
@@ -58,7 +58,7 @@ class CONTENT_EXPORT Compositor {
static Compositor* Create(Client* client);
// Attaches the layer tree.
- virtual void SetRootLayer(WebKit::WebLayer* root) = 0;
+ virtual void SetRootLayer(scoped_refptr<cc::Layer> root) = 0;
// Set the output surface bounds.
virtual void SetWindowBounds(const gfx::Size& size) = 0;

Powered by Google App Engine
This is Rietveld 408576698