| 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 f54a29fd76e791e64d47d1bf4d955c1af35dd6ec..7efe33081f0ad8610c6a9ac841a7cfd88e66ab16 100644
|
| --- a/content/browser/android/content_video_view.h
|
| +++ b/content/browser/android/content_video_view.h
|
| @@ -44,7 +44,9 @@ class ContentVideoView {
|
| DISALLOW_COPY_AND_ASSIGN(Client);
|
| };
|
|
|
| - explicit ContentVideoView(Client* client, ContentViewCore* content_view_core);
|
| + explicit ContentVideoView(Client* client,
|
| + ContentViewCore* content_view_core,
|
| + const gfx::Size& video_natural_size);
|
| ~ContentVideoView();
|
|
|
| // To open another video on existing ContentVideoView.
|
| @@ -53,7 +55,7 @@ class ContentVideoView {
|
| // Display an error dialog to the user.
|
| void OnMediaPlayerError(int error_type);
|
|
|
| - // Update the video size. The video will not be visible until this is called.
|
| + // Update the video size.
|
| void OnVideoSizeChanged(int width, int height);
|
|
|
| // Exit fullscreen and notify |client_| with |DidExitFullscreen|.
|
| @@ -88,7 +90,8 @@ class ContentVideoView {
|
|
|
| private:
|
| // Creates the corresponding ContentVideoView Java object.
|
| - JavaObjectWeakGlobalRef CreateJavaObject(ContentViewCore* content_view_core);
|
| + JavaObjectWeakGlobalRef CreateJavaObject(ContentViewCore* content_view_core,
|
| + const gfx::Size& video_natural_size);
|
|
|
| Client* client_;
|
|
|
|
|