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

Side by Side Diff: content/shell/android/shell_manager.h

Issue 10800019: Refactor ContentShell to remove ContentViewClient dependency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « content/shell/android/shell_library_loader.cc ('k') | content/shell/android/shell_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
9
8 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
9 #include "base/android/scoped_java_ref.h" 11 #include "base/android/scoped_java_ref.h"
10 12
11 namespace content { 13 namespace content {
12 class ShellView;
13 14
14 // Creates an Android specific shell view, which is our version of a shell 15 // Creates an Android specific shell view, which is our version of a shell
15 // window. This view holds the controls and content views necessary to 16 // window. This view holds the controls and content views necessary to
16 // render a shell window. Returns a ShellView ptr bound to an initialized java 17 // render a shell window. Returns the java object representing the shell view.
17 // object. 18 // object.
18 content::ShellView* CreateShellView(); 19 jobject CreateShellView();
19 20
20 // Registers the ShellManager native methods. 21 // Registers the ShellManager native methods.
21 bool RegisterShellManager(JNIEnv* env); 22 bool RegisterShellManager(JNIEnv* env);
22 23
23 } // namespace content 24 } // namespace content
24 25
25 #endif // CONTENT_SHELL_ANDROID_SHELL_MANAGER_H_ 26 #endif // CONTENT_SHELL_ANDROID_SHELL_MANAGER_H_
OLDNEW
« no previous file with comments | « content/shell/android/shell_library_loader.cc ('k') | content/shell/android/shell_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698