| Index: content/browser/android/content_video_view.h
|
| diff --git a/content/browser/android/content_video_view.h b/content/browser/android/content_video_view.h
|
| index deb5ffc7f11c91edb3a226ab7cf8395c49fec9de..a41650f43601a0d0e5cf6b2e6353ce6c9006c6ce 100644
|
| --- a/content/browser/android/content_video_view.h
|
| +++ b/content/browser/android/content_video_view.h
|
| @@ -23,6 +23,13 @@ class MediaPlayerManagerAndroid;
|
| // MediaPlayerManagerAndroid.
|
| class ContentVideoView {
|
| public:
|
| + enum {
|
| + // These are used in java so don't change them unless we can share an enum
|
| + // from java and remove this enum.
|
| + PERSONALITY_FULL_SCREEN = 0,
|
| + PERSONALITY_EMBEDDED = 1,
|
| + };
|
| +
|
| // Construct a ContentVideoView object. The |manager| will handle all the
|
| // playback controls from the Java class.
|
| explicit ContentVideoView(MediaPlayerManagerAndroid* manager);
|
| @@ -40,7 +47,7 @@ class ContentVideoView {
|
|
|
| // Method to create and destroy the Java view.
|
| void DestroyContentVideoView();
|
| - void CreateContentVideoView();
|
| + void CreateContentVideoView(int personality);
|
|
|
| // Called when the Java fullscreen view is destroyed. If
|
| // |release_media_player| is true, |manager_| needs to release the player
|
| @@ -71,6 +78,8 @@ class ContentVideoView {
|
| // Reference to the Java object.
|
| base::android::ScopedJavaGlobalRef<jobject> j_content_video_view_;
|
|
|
| + int personality_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ContentVideoView);
|
| };
|
|
|
|
|