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

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

Issue 2545733002: chromecast: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_MANAGER_H_ 5 #ifndef CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_MANAGER_H_
6 #define CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_MANAGER_H_ 6 #define CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_MANAGER_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
11 #include "base/android/scoped_java_ref.h" 11 #include "base/android/scoped_java_ref.h"
12 12
13 class CastWindowAndroid; 13 class CastWindowAndroid;
14 14
15 namespace content {
16 class BrowserContext;
17 }
18
19 namespace chromecast { 15 namespace chromecast {
20 namespace shell { 16 namespace shell {
21 17
22 // Given a CastWindowAndroid instance, creates and returns a Java wrapper. 18 // Given a CastWindowAndroid instance, creates and returns a Java wrapper.
23 base::android::ScopedJavaLocalRef<jobject> 19 base::android::ScopedJavaLocalRef<jobject>
24 CreateCastWindowView(CastWindowAndroid* shell); 20 CreateCastWindowView(CastWindowAndroid* shell);
25 21
26 // Closes a previously created Java wrapper. 22 // Closes a previously created Java wrapper.
27 void CloseCastWindowView(jobject shell_wrapper); 23 void CloseCastWindowView(jobject shell_wrapper);
28 24
29 // Registers the CastWindowManager native methods. 25 // Registers the CastWindowManager native methods.
30 bool RegisterCastWindowManager(JNIEnv* env); 26 bool RegisterCastWindowManager(JNIEnv* env);
31 27
32 } // namespace shell 28 } // namespace shell
33 } // namespace chromecast 29 } // namespace chromecast
34 30
35 #endif // CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_MANAGER_H_ 31 #endif // CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_MANAGER_H_
OLDNEW
« no previous file with comments | « chromecast/browser/android/cast_window_android.h ('k') | chromecast/browser/cast_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698