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

Unified Diff: content/browser/android/content_video_view.h

Issue 2154883003: Make ContentVideoView progress view visible in WebView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Java continuation lines identation Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
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_;
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java ('k') | content/browser/android/content_video_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698