Drive: Add BatchableRequest subclass.
[chromium-blink-merge.git] / chromecast / browser / android / cast_window_manager.h
blob8494951148e1f9cf13da7f06acd00b9439f41b95
1 // Copyright 2014 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 CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_MANAGER_H_
6 #define CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_MANAGER_H_
8 #include <jni.h>
10 #include "base/android/jni_android.h"
11 #include "base/android/scoped_java_ref.h"
13 class CastWindowAndroid;
15 namespace content {
16 class BrowserContext;
19 namespace chromecast {
20 namespace shell {
22 // Given a CastWindowAndroid instance, creates and returns a Java wrapper.
23 base::android::ScopedJavaLocalRef<jobject>
24 CreateCastWindowView(CastWindowAndroid* shell);
26 // Closes a previously created Java wrapper.
27 void CloseCastWindowView(jobject shell_wrapper);
29 // Registers the CastWindowManager native methods.
30 bool RegisterCastWindowManager(JNIEnv* env);
32 } // namespace shell
33 } // namespace chromecast
35 #endif // CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_MANAGER_H_