summaryrefslogtreecommitdiffstats
path: root/content/shell/android/shell_manager.h
diff options
context:
space:
mode:
authortedchoc@chromium.org <tedchoc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-25 03:18:46 +0000
committertedchoc@chromium.org <tedchoc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-25 03:18:46 +0000
commita08029b412a3b9a2b00a6356e5eba8e8fdb623c6 (patch)
tree91a633827f0878126537e0b31967d09e3e828c1f /content/shell/android/shell_manager.h
parent70dfa1f43de08da9e6556cf2bfc2c079f06f5f02 (diff)
downloadchromium_src-a08029b412a3b9a2b00a6356e5eba8e8fdb623c6.zip
chromium_src-a08029b412a3b9a2b00a6356e5eba8e8fdb623c6.tar.gz
chromium_src-a08029b412a3b9a2b00a6356e5eba8e8fdb623c6.tar.bz2
Implement the skeleton of an android content shell.
Many TODOs here that will allow a quicker distribution of work to get the remaining pieces upstreamed. BUG=118591 TEST= Review URL: http://codereview.chromium.org/10035034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133857 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/android/shell_manager.h')
-rw-r--r--content/shell/android/shell_manager.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/content/shell/android/shell_manager.h b/content/shell/android/shell_manager.h
new file mode 100644
index 0000000..4fa0f33
--- /dev/null
+++ b/content/shell/android/shell_manager.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_SHELL_ANDROID_SHELL_MANAGER_H_
+#define CONTENT_SHELL_ANDROID_SHELL_MANAGER_H_
+
+#include "base/android/jni_android.h"
+#include "base/android/scoped_java_ref.h"
+
+namespace content {
+class ShellView;
+
+// Creates an Android specific shell view, which is our version of a shell
+// window. This view holds the controls and content views necessary to
+// render a shell window. Returns a ShellView ptr bound to an initialized java
+// object.
+content::ShellView* CreateShellView();
+
+// Registers the ShellManager native methods.
+bool RegisterShellManager(JNIEnv* env);
+
+} // namespace content
+
+#endif // CONTENT_SHELL_ANDROID_SHELL_MANAGER_H_