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

Unified Diff: chromecast/browser/android/cast_content_window_android.cc

Issue 2643553002: [Chromecast] Reuse the Aura window manager across receiver apps. (Closed)
Patch Set: fix unit tests Created 3 years, 11 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: chromecast/browser/android/cast_content_window_android.cc
diff --git a/chromecast/browser/android/cast_content_window_android.cc b/chromecast/browser/android/cast_content_window_android.cc
index 7c22d2c0f76c4f84a5b119244ca8b450e6faa7e7..ee932400b0dfa630533b530cdb3857eefbb7da8d 100644
--- a/chromecast/browser/android/cast_content_window_android.cc
+++ b/chromecast/browser/android/cast_content_window_android.cc
@@ -59,7 +59,8 @@ void CastContentWindowAndroid::SetTransparent() {
}
void CastContentWindowAndroid::ShowWebContents(
- content::WebContents* web_contents) {
+ content::WebContents* web_contents,
+ CastWindowManager* window_manager) {
derekjchow1 2017/01/18 02:49:12 DCHECK(window_manager). Even if it's not used, it
Joshua LeVasseur 2017/01/18 18:26:35 Done.
JNIEnv* env = base::android::AttachCurrentThread();
base::android::ScopedJavaLocalRef<jobject> java_web_contents =
web_contents->GetJavaWebContents();

Powered by Google App Engine
This is Rietveld 408576698