Loosen up heuristics for detecting account creation forms.
[chromium-blink-merge.git] / content / shell / android / shell_manager.h
blob7dcbc341b696b7615fc1500b2dd6c467801098e1
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_SHELL_ANDROID_SHELL_MANAGER_H_
6 #define CONTENT_SHELL_ANDROID_SHELL_MANAGER_H_
8 #include <jni.h>
10 #include "base/android/jni_android.h"
11 #include "base/android/scoped_java_ref.h"
13 namespace WebKit {
14 class WebLayer;
17 namespace content {
19 // Creates an Android specific shell view, which is our version of a shell
20 // window. This view holds the controls and content views necessary to
21 // render a shell window. Returns the java object representing the shell view.
22 // object.
23 jobject CreateShellView();
25 // Registers the ShellManager native methods.
26 bool RegisterShellManager(JNIEnv* env);
28 void ShellAttachLayer(WebKit::WebLayer* layer);
29 void ShellRemoveLayer(WebKit::WebLayer* layer);
30 } // namespace content
32 #endif // CONTENT_SHELL_ANDROID_SHELL_MANAGER_H_