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

Side by Side Diff: chrome/browser/media/android/remote/remote_media_player_bridge.h

Issue 2480003002: [RemotePlayback] Keep track of source compatibility and reject prompt() correspondingly (Closed)
Patch Set: Fixed the java enum comment Created 4 years, 1 month 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
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/media/android/remote/remote_media_player_bridge.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROME_BROWSER_MEDIA_ANDROID_REMOTE_REMOTE_MEDIA_PLAYER_BRIDGE_H_ 5 #ifndef CHROME_BROWSER_MEDIA_ANDROID_REMOTE_REMOTE_MEDIA_PLAYER_BRIDGE_H_
6 #define CHROME_BROWSER_MEDIA_ANDROID_REMOTE_REMOTE_MEDIA_PLAYER_BRIDGE_H_ 6 #define CHROME_BROWSER_MEDIA_ANDROID_REMOTE_REMOTE_MEDIA_PLAYER_BRIDGE_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // JNI functions 57 // JNI functions
58 void OnPlaying(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj); 58 void OnPlaying(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj);
59 void OnPaused(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj); 59 void OnPaused(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj);
60 void OnRouteUnselected(JNIEnv* env, 60 void OnRouteUnselected(JNIEnv* env,
61 const base::android::JavaParamRef<jobject>& obj); 61 const base::android::JavaParamRef<jobject>& obj);
62 void OnPlaybackFinished(JNIEnv* env, 62 void OnPlaybackFinished(JNIEnv* env,
63 const base::android::JavaParamRef<jobject>& obj); 63 const base::android::JavaParamRef<jobject>& obj);
64 void OnRouteAvailabilityChanged( 64 void OnRouteAvailabilityChanged(
65 JNIEnv* env, 65 JNIEnv* env,
66 const base::android::JavaParamRef<jobject>& obj, 66 const base::android::JavaParamRef<jobject>& obj,
67 jboolean available); 67 int availability);
68 base::android::ScopedJavaLocalRef<jstring> GetTitle( 68 base::android::ScopedJavaLocalRef<jstring> GetTitle(
69 JNIEnv* env, 69 JNIEnv* env,
70 const base::android::JavaParamRef<jobject>& obj); 70 const base::android::JavaParamRef<jobject>& obj);
71 void PauseLocal(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj); 71 void PauseLocal(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj);
72 jint GetLocalPosition(JNIEnv* env, 72 jint GetLocalPosition(JNIEnv* env,
73 const base::android::JavaParamRef<jobject>& obj); 73 const base::android::JavaParamRef<jobject>& obj);
74 void OnCastStarting( 74 void OnCastStarting(
75 JNIEnv* env, 75 JNIEnv* env,
76 const base::android::JavaParamRef<jobject>& obj, 76 const base::android::JavaParamRef<jobject>& obj,
77 const base::android::JavaParamRef<jstring>& casting_message); 77 const base::android::JavaParamRef<jstring>& casting_message);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 147
148 // NOTE: Weak pointers must be invalidated before all other member variables. 148 // NOTE: Weak pointers must be invalidated before all other member variables.
149 base::WeakPtrFactory<RemoteMediaPlayerBridge> weak_factory_; 149 base::WeakPtrFactory<RemoteMediaPlayerBridge> weak_factory_;
150 150
151 DISALLOW_COPY_AND_ASSIGN(RemoteMediaPlayerBridge); 151 DISALLOW_COPY_AND_ASSIGN(RemoteMediaPlayerBridge);
152 }; 152 };
153 153
154 } // namespace remote_media 154 } // namespace remote_media
155 155
156 #endif // CHROME_BROWSER_MEDIA_ANDROID_REMOTE_REMOTE_MEDIA_PLAYER_BRIDGE_H_ 156 #endif // CHROME_BROWSER_MEDIA_ANDROID_REMOTE_REMOTE_MEDIA_PLAYER_BRIDGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/media/android/remote/remote_media_player_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698