Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
| 5 | 5 |
| 6 <org.chromium.chrome.browser.toolbar.CustomTabToolbar | 6 <org.chromium.chrome.browser.toolbar.CustomTabToolbar |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" | 7 xmlns:android="http://schemas.android.com/apk/res/android" |
| 8 xmlns:chrome="http://schemas.android.com/apk/res-auto" > | 8 xmlns:chrome="http://schemas.android.com/apk/res-auto" > |
| 9 <ImageButton | 9 <ImageButton |
| 10 android:id="@+id/close_button" | 10 android:id="@+id/close_button" |
| 11 style="@style/ToolbarButton" | 11 style="@style/ToolbarButton" |
| 12 android:layout_gravity="start|center_vertical" | 12 android:layout_gravity="start|center_vertical" |
| 13 android:contentDescription="@string/close_tab" /> | 13 android:contentDescription="@string/close_tab" /> |
| 14 <FrameLayout | 14 <FrameLayout |
| 15 android:id="@+id/location_bar_frame_layout" | 15 android:id="@+id/location_bar_frame_layout" |
| 16 android:layout_width="match_parent" | 16 android:layout_width="match_parent" |
| 17 android:layout_height="wrap_content" | 17 android:layout_height="wrap_content" |
| 18 android:layout_gravity="center_vertical" > | 18 android:layout_gravity="center_vertical" > |
| 19 <ImageButton | 19 <ImageButton |
| 20 android:id="@+id/security_button" | 20 android:id="@+id/security_button" |
| 21 style="@style/LocationBarButton" | 21 style="@style/LocationBarButton" |
| 22 android:layout_width="@dimen/location_bar_icon_width" | 22 android:layout_width="@dimen/location_bar_icon_width" |
| 23 android:layout_height="match_parent" | 23 android:layout_height="match_parent" |
| 24 android:layout_gravity="center_vertical" | 24 android:layout_gravity="center_vertical" |
| 25 android:contentDescription="@string/page_info_offline_icon" | |
|
Ian Wen
2016/03/14 20:51:56
Content description is wrong.
fgorski
2016/03/15 21:09:26
Gone.
| |
| 26 android:scaleType="center" | |
| 27 android:src="@drawable/offline_bolt" | |
| 28 android:visibility="gone" /> | |
| 29 <ImageButton | |
| 30 android:id="@+id/offline_button" | |
| 31 style="@style/LocationBarButton" | |
| 32 android:layout_width="@dimen/location_bar_icon_width" | |
| 33 android:layout_height="match_parent" | |
| 34 android:layout_gravity="center_vertical" | |
| 25 android:contentDescription="@string/accessibility_toolbar_btn_site_i nfo" | 35 android:contentDescription="@string/accessibility_toolbar_btn_site_i nfo" |
| 26 android:scaleType="center" | 36 android:scaleType="center" |
| 27 android:visibility="gone" /> | 37 android:visibility="gone" /> |
| 28 <FrameLayout | 38 <FrameLayout |
| 29 android:id="@+id/title_url_container" | 39 android:id="@+id/title_url_container" |
| 30 android:layout_width="match_parent" | 40 android:layout_width="match_parent" |
| 31 android:layout_height="wrap_content" | 41 android:layout_height="wrap_content" |
| 32 android:layout_gravity="center_vertical" | 42 android:layout_gravity="center_vertical" |
| 33 android:background="@null" > | 43 android:background="@null" > |
| 34 <TextView | 44 <TextView |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 78 android:src="@drawable/btn_menu" | 88 android:src="@drawable/btn_menu" |
| 79 android:contentDescription="@string/accessibility_toolbar_btn_menu" | 89 android:contentDescription="@string/accessibility_toolbar_btn_menu" |
| 80 android:background="@null" /> | 90 android:background="@null" /> |
| 81 <org.chromium.chrome.browser.widget.ToolbarProgressBar | 91 <org.chromium.chrome.browser.widget.ToolbarProgressBar |
| 82 android:id="@+id/progress" | 92 android:id="@+id/progress" |
| 83 android:layout_width="match_parent" | 93 android:layout_width="match_parent" |
| 84 android:layout_height="2dp" | 94 android:layout_height="2dp" |
| 85 chrome:progressBarColor="@color/progress_bar_foreground" | 95 chrome:progressBarColor="@color/progress_bar_foreground" |
| 86 chrome:backgroundColor="@color/progress_bar_background" /> | 96 chrome:backgroundColor="@color/progress_bar_background" /> |
| 87 </org.chromium.chrome.browser.toolbar.CustomTabToolbar> | 97 </org.chromium.chrome.browser.toolbar.CustomTabToolbar> |
| OLD | NEW |