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

Unified Diff: content/shell/android/shell_manager.h

Issue 10828356: Very basic Android browser-side compositing support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments, rebase Created 8 years, 4 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/shell/android/shell_manager.h
diff --git a/content/shell/android/shell_manager.h b/content/shell/android/shell_manager.h
index 640d98e1a4411589146f332849dcf36b111334f5..7dcbc341b696b7615fc1500b2dd6c467801098e1 100644
--- a/content/shell/android/shell_manager.h
+++ b/content/shell/android/shell_manager.h
@@ -10,6 +10,10 @@
#include "base/android/jni_android.h"
#include "base/android/scoped_java_ref.h"
+namespace WebKit {
+class WebLayer;
+}
+
namespace content {
// Creates an Android specific shell view, which is our version of a shell
@@ -21,6 +25,8 @@ jobject CreateShellView();
// Registers the ShellManager native methods.
bool RegisterShellManager(JNIEnv* env);
+void ShellAttachLayer(WebKit::WebLayer* layer);
+void ShellRemoveLayer(WebKit::WebLayer* layer);
} // namespace content
#endif // CONTENT_SHELL_ANDROID_SHELL_MANAGER_H_

Powered by Google App Engine
This is Rietveld 408576698