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

Unified Diff: content/public/browser/android/content_view_core.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
« no previous file with comments | « content/public/browser/android/compositor.h ('k') | webkit/compositor_bindings/web_layer_tree_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/android/content_view_core.h
diff --git a/content/public/browser/android/content_view_core.h b/content/public/browser/android/content_view_core.h
index 288cdb578c7edb7b824c5749cf9cd76292411809..7a3c342ea8a500332ebd47abd108f5036d20683e 100644
--- a/content/public/browser/android/content_view_core.h
+++ b/content/public/browser/android/content_view_core.h
@@ -10,6 +10,10 @@
#include "content/public/browser/navigation_controller.h"
+namespace cc {
+class Layer;
+}
+
namespace gfx {
class Size;
}
@@ -18,10 +22,6 @@ namespace ui {
class WindowAndroid;
}
-namespace WebKit {
-class WebLayer;
-}
-
namespace content {
class WebContents;
@@ -39,7 +39,7 @@ class ContentViewCore {
virtual base::android::ScopedJavaLocalRef<jobject> GetContainerViewDelegate()
= 0;
virtual ui::WindowAndroid* GetWindowAndroid() const = 0;
- virtual WebKit::WebLayer* GetWebLayer() const = 0;
+ virtual scoped_refptr<cc::Layer> GetLayer() const = 0;
virtual void LoadUrl(NavigationController::LoadURLParams& params) = 0;
virtual void OnWebPreferencesUpdated() = 0;
virtual jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj) = 0;
« no previous file with comments | « content/public/browser/android/compositor.h ('k') | webkit/compositor_bindings/web_layer_tree_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698