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

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

Issue 2353063005: Refactor ContentViewClient (1/6) (Closed)
Patch Set: cast to activity Created 4 years, 3 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 7efe33081f0ad8610c6a9ac841a7cfd88e66ab16..cb9c0d3f60003d8408d5a36511c86cefad349a8e 100644
--- a/content/browser/android/content_video_view.h
+++ b/content/browser/android/content_video_view.h
@@ -46,6 +46,7 @@ class ContentVideoView {
explicit ContentVideoView(Client* client,
ContentViewCore* content_view_core,
+ const base::android::JavaRef<jobject>& embedder,
const gfx::Size& video_natural_size);
~ContentVideoView();
@@ -90,8 +91,10 @@ class ContentVideoView {
private:
// Creates the corresponding ContentVideoView Java object.
- JavaObjectWeakGlobalRef CreateJavaObject(ContentViewCore* content_view_core,
- const gfx::Size& video_natural_size);
+ JavaObjectWeakGlobalRef CreateJavaObject(
+ ContentViewCore* content_view_core,
+ const base::android::JavaRef<jobject>& j_content_video_view_embedder,
+ const gfx::Size& video_natural_size);
Client* client_;

Powered by Google App Engine
This is Rietveld 408576698