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

Side by Side Diff: chromecast/browser/android/cast_window_manager.h

Issue 2570623003: [Chromecast] Turn CastContentWindow into an abstract interface. (Closed)
Patch Set: Fix browser test Created 3 years, 11 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
OLDNEW
(Empty)
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.
4
5 #ifndef CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_MANAGER_H_
6 #define CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_MANAGER_H_
7
8 #include <jni.h>
9
10 #include "base/android/jni_android.h"
11 #include "base/android/scoped_java_ref.h"
12
13 class CastWindowAndroid;
14
15 namespace chromecast {
16 namespace shell {
17
18 // Given a CastWindowAndroid instance, creates and returns a Java wrapper.
19 base::android::ScopedJavaLocalRef<jobject>
20 CreateCastWindowView(CastWindowAndroid* shell);
21
22 // Closes a previously created Java wrapper.
23 void CloseCastWindowView(jobject shell_wrapper);
24
25 // Registers the CastWindowManager native methods.
26 bool RegisterCastWindowManager(JNIEnv* env);
27
28 } // namespace shell
29 } // namespace chromecast
30
31 #endif // CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_MANAGER_H_
OLDNEW
« no previous file with comments | « chromecast/browser/android/cast_window_android.cc ('k') | chromecast/browser/android/cast_window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698