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

Unified Diff: chrome/android/testshell/res/layout/testshell_activity.xml

Issue 10968003: Add rendering support to the TestShell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased on top of test apk changes. Created 8 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: chrome/android/testshell/res/layout/testshell_activity.xml
diff --git a/content/shell/android/res/layout/shell_view.xml b/chrome/android/testshell/res/layout/testshell_activity.xml
similarity index 74%
copy from content/shell/android/res/layout/shell_view.xml
copy to chrome/android/testshell/res/layout/testshell_activity.xml
index d6c15d6f91f855af81c6a6550043c5fae7e1226a..43323a6e32aefb47dfb8bb48696486af272dc400 100644
--- a/content/shell/android/res/layout/shell_view.xml
+++ b/chrome/android/testshell/res/layout/testshell_activity.xml
@@ -6,13 +6,12 @@
found in the LICENSE file.
-->
-<org.chromium.content_shell.Shell
+<org.chromium.chrome.testshell.TabManager android:id="@+id/tab_manager"
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" >
- <LinearLayout android:id="@+id/toolbar"
+ android:orientation="vertical">
+ <org.chromium.chrome.testshell.TestShellToolbar android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
@@ -40,9 +39,14 @@
android:layout_height="38dp"
android:src="@android:drawable/ic_media_next"
android:scaleType="center" />
- </LinearLayout>
- <FrameLayout android:id="@+id/contentview_holder"
+ </org.chromium.chrome.testshell.TestShellToolbar>
+ <FrameLayout android:id="@+id/content_container"
android:layout_width="match_parent"
android:layout_height="0dp"
- android:layout_weight="1" />
-</org.chromium.content_shell.Shell>
+ android:layout_weight="1">
+ <SurfaceView android:id="@+id/render_target"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+ </FrameLayout>
+
+</org.chromium.chrome.testshell.TabManager>

Powered by Google App Engine
This is Rietveld 408576698