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

Unified Diff: chrome/android/java/res/layout/website_settings_permission_row.xml

Issue 620983002: Add Permissions to the PageInfo dialog on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@page_info_dialog_shell_only_v2
Patch Set: Added TODO to rename class to PageInfo Created 6 years, 2 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/java/res/layout/website_settings_permission_row.xml
diff --git a/chrome/android/java/res/layout/website_settings_permission_row.xml b/chrome/android/java/res/layout/website_settings_permission_row.xml
new file mode 100644
index 0000000000000000000000000000000000000000..59b56a26d826af8af66f840f3a8cb9e78b29f826
--- /dev/null
+++ b/chrome/android/java/res/layout/website_settings_permission_row.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2013 The Chromium Authors. All rights reserved.
Ted C 2014/10/09 01:25:14 no (c) and 2014
sashab 2014/10/14 02:53:17 Done.
+
+ 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"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:paddingTop="@dimen/website_settings_popup_permission_padding_top" >
+
+ <ImageView
+ android:id="@+id/website_settings_permission_icon"
+ android:layout_width="@dimen/website_settings_popup_permission_icon_size"
+ android:layout_height="@dimen/website_settings_popup_permission_icon_size" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingStart="@dimen/website_settings_popup_permission_margin_between_icon_and_name" >
+
+ <TextView
+ android:id="@+id/website_settings_permission_name"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="Automatic downloads"
Ted C 2014/10/09 01:25:14 remove this
sashab 2014/10/14 02:53:17 Done.
+ android:textColor="@color/website_settings_popup_permission_name"
+ android:textSize="@dimen/website_settings_popup_permission_name"
Ted C 2014/10/09 01:25:14 for text sizes, the dimens should include text_siz
sashab 2014/10/14 02:53:17 Removed this one anyway. And all the other textSiz
+ android:textStyle="bold" />
+
+ <Spinner
+ android:id="@+id/website_settings_permission_spinner"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" />
+ </LinearLayout>
+
+</LinearLayout>

Powered by Google App Engine
This is Rietveld 408576698