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

Unified Diff: chromecast/shell/android/apk/res/layout/cast_window_view.xml

Issue 490603002: Chromecast: initial checkin of Android-based cast shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added android DEPS (git cl presubmit doesn't check Java DEPS?) Created 6 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: chromecast/shell/android/apk/res/layout/cast_window_view.xml
diff --git a/android_webview/tools/WebViewTelemetryShell/res/layout/activity_telemetry.xml b/chromecast/shell/android/apk/res/layout/cast_window_view.xml
similarity index 52%
copy from android_webview/tools/WebViewTelemetryShell/res/layout/activity_telemetry.xml
copy to chromecast/shell/android/apk/res/layout/cast_window_view.xml
index 0fd1ab5ec8d936a9b84bb1128b25fc1e70204399..ce57c9e556e1e93066e3206c13cf61da0cdaa51e 100644
--- a/android_webview/tools/WebViewTelemetryShell/res/layout/activity_telemetry.xml
+++ b/chromecast/shell/android/apk/res/layout/cast_window_view.xml
@@ -1,20 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
+
<!-- Copyright 2014 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
--->
+ -->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
+<org.chromium.chromecast.shell.CastWindowAndroid
+ xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:orientation="vertical"
- android:gravity="center">
-
- <WebView
- android:id="@+id/webview"
+ android:orientation="vertical" >
+ <FrameLayout android:id="@+id/contentview_holder"
android:layout_width="match_parent"
- android:layout_height="match_parent" />
-</LinearLayout>
-
+ android:layout_height="0dp"
+ android:layout_weight="1" />
+</org.chromium.chromecast.shell.CastWindowAndroid>

Powered by Google App Engine
This is Rietveld 408576698