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

Unified Diff: chrome/android/java_staging/res/layout-sw600dp/location_bar.xml

Issue 1141283003: Upstream oodles of Chrome for Android code into Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final patch? Created 5 years, 7 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_staging/res/layout-sw600dp/location_bar.xml
diff --git a/chrome/android/java_staging/res/layout-sw600dp/location_bar.xml b/chrome/android/java_staging/res/layout-sw600dp/location_bar.xml
new file mode 100644
index 0000000000000000000000000000000000000000..dcdcb8f105d5784470480cc1d64a242b3dcafe5a
--- /dev/null
+++ b/chrome/android/java_staging/res/layout-sw600dp/location_bar.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2015 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. -->
+
+<!-- The location bar also know as URL bar -->
+<merge xmlns:android="http://schemas.android.com/apk/res/android">
+ <FrameLayout android:id="@+id/location_bar_icon"
+ android:layout_width="@dimen/location_bar_icon_width"
+ android:layout_height="match_parent"
+ android:layout_gravity="start|center_vertical">
+ <ImageView android:id="@+id/navigation_button"
+ style="@style/LocationBarButton"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_gravity="center_vertical"
+ android:src="@drawable/ic_omnibox_page"
+ android:scaleType="center"
+ android:contentDescription="@null"/>
+ <ImageButton android:id="@+id/security_button"
+ style="@style/LocationBarButton"
+ android:layout_height="match_parent"
+ android:layout_width="match_parent"
+ android:scaleType="center"
+ android:layout_gravity="center"
+ android:alpha="0"
+ android:visibility="invisible"
+ android:contentDescription="@string/accessibility_toolbar_btn_security_lock" />
+ </FrameLayout>
+ <include
+ android:id="@+id/url_container"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_marginTop="3dp"
+ android:layout_marginBottom="3dp"
+ android:layout_marginStart="@dimen/location_bar_icon_width"
+ android:layout_marginEnd="80dp"
+ android:layout_gravity="center_vertical"
+ android:nextFocusForward="@+id/menu_button"
+ layout="@layout/url_container"
+ />
+ <org.chromium.chrome.browser.widget.TintedImageButton
+ android:id="@+id/delete_button"
+ style="@style/LocationBarButton"
+ android:layout_width="40dp"
+ android:layout_height="match_parent"
+ android:scaleType="center"
+ android:layout_marginEnd="44dp"
+ android:layout_gravity="end"
+ android:src="@drawable/btn_delete_url"
+ android:visibility="gone"
+ android:contentDescription="@string/accessibility_toolbar_btn_delete_url" />
+ <!-- delete_button and bookmark_button overlap, so they should have the same right margin -->
+ <org.chromium.chrome.browser.widget.TintedImageButton
+ android:id="@+id/bookmark_button"
+ style="@style/LocationBarButton"
+ android:layout_width="40dp"
+ android:layout_height="match_parent"
+ android:scaleType="center"
+ android:layout_marginEnd="40dp"
+ android:layout_gravity="end"
+ android:paddingStart="0dp"
+ android:paddingEnd="0dp"
+ android:contentDescription="@string/accessibility_menu_bookmark" />
+ <org.chromium.chrome.browser.widget.TintedImageButton
+ android:id="@+id/mic_button"
+ style="@style/LocationBarButton"
+ android:layout_width="40dp"
+ android:layout_height="match_parent"
+ android:scaleType="center"
+ android:layout_gravity="end"
+ android:paddingStart="0dp"
+ android:paddingEnd="0dp"
+ android:nextFocusForward="@+id/menu_button"
+ android:src="@drawable/btn_mic"
+ android:contentDescription="@string/accessibility_toolbar_btn_mic" />
+</merge>

Powered by Google App Engine
This is Rietveld 408576698