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

Side by Side 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: Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_SHELL_ANDROID_SHELL_MANAGER_H_ 5 #ifndef CONTENT_SHELL_ANDROID_SHELL_MANAGER_H_
6 #define CONTENT_SHELL_ANDROID_SHELL_MANAGER_H_ 6 #define CONTENT_SHELL_ANDROID_SHELL_MANAGER_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
11 #include "base/android/scoped_java_ref.h" 11 #include "base/android/scoped_java_ref.h"
12 12
13 namespace WebKit {
14 class WebLayer;
15 }
16
13 namespace content { 17 namespace content {
14 18
15 // Creates an Android specific shell view, which is our version of a shell 19 // Creates an Android specific shell view, which is our version of a shell
16 // window. This view holds the controls and content views necessary to 20 // window. This view holds the controls and content views necessary to
17 // render a shell window. Returns the java object representing the shell view. 21 // render a shell window. Returns the java object representing the shell view.
18 // object. 22 // object.
19 jobject CreateShellView(); 23 jobject CreateShellView();
20 24
21 // Registers the ShellManager native methods. 25 // Registers the ShellManager native methods.
22 bool RegisterShellManager(JNIEnv* env); 26 bool RegisterShellManager(JNIEnv* env);
23 27
28 void ShellAttachLayer(WebKit::WebLayer* layer);
29 void ShellRemoveLayer(WebKit::WebLayer* layer);
24 } // namespace content 30 } // namespace content
25 31
26 #endif // CONTENT_SHELL_ANDROID_SHELL_MANAGER_H_ 32 #endif // CONTENT_SHELL_ANDROID_SHELL_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698