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

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

Issue 10035034: Implement the skeleton of an android content shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed drawable png as it was checked in separately. Created 8 years, 8 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
new file mode 100644
index 0000000000000000000000000000000000000000..4fa0f331248849a7ae7c29150f87c56ac80b09b9
--- /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_

Powered by Google App Engine
This is Rietveld 408576698