Durable Storage: Refactor browser test and test the basic "deny" flow.
[chromium-blink-merge.git] / chrome / android / java / res / layout / location_bar.xml
blob073253f97b6b8a1876dbd3ca1882bb8a40e94659
1 <?xml version="1.0" encoding="utf-8"?>
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
4      found in the LICENSE file. -->
6 <!-- The location bar also know as URL bar -->
7 <merge xmlns:android="http://schemas.android.com/apk/res/android">
8     <ImageView android:id="@+id/incognito_badge"
9         style="@style/LocationBarButton"
10         android:layout_width="wrap_content"
11         android:layout_height="match_parent"
12         android:scaleType="center"
13         android:src="@drawable/ic_omnibox_incognito_badge"
14         android:contentDescription="@null"
15         android:visibility="gone" />
16     <FrameLayout android:id="@+id/location_bar_icon"
17         android:layout_width="@dimen/location_bar_icon_width"
18         android:layout_height="match_parent"
19         android:visibility="gone">
20         <ImageView android:id="@+id/navigation_button"
21             style="@style/LocationBarButton"
22             android:layout_width="match_parent"
23             android:layout_height="match_parent"
24             android:layout_gravity="center"
25             android:scaleType="center"
26             android:contentDescription="@string/accessibility_toolbar_btn_site_info"/>
27         <ImageButton android:id="@+id/security_button"
28             style="@style/LocationBarButton"
29             android:layout_height="match_parent"
30             android:layout_width="match_parent"
31             android:scaleType="center"
32             android:layout_gravity="center"
33             android:alpha="0"
34             android:visibility="invisible"
35             android:contentDescription="@string/accessibility_toolbar_btn_site_info" />
36     </FrameLayout>
37     <include
38         android:id="@+id/url_container"
39         android:layout_width="match_parent"
40         android:layout_height="match_parent"
41         android:layout_marginTop="3dp"
42         android:layout_marginBottom="3dp"
43         android:layout_marginStart="@dimen/location_bar_icon_width"
44         android:layout_gravity="center_vertical"
45         android:nextFocusForward="@+id/tab_switcher_button"
46         layout="@layout/url_container"
47         />
48     <FrameLayout android:id="@+id/url_action_container"
49         android:layout_width="@dimen/location_bar_icon_width"
50         android:layout_height="@dimen/toolbar_height_no_shadow"
51         android:layout_gravity="end|center_vertical"
52         android:visibility="gone">
53         <org.chromium.chrome.browser.widget.TintedImageButton
54             android:id="@+id/document_menu_button"
55             style="@style/LocationBarButton"
56             android:layout_height="match_parent"
57             android:layout_width="match_parent"
58             android:layoutDirection="locale"
59             android:src="@drawable/btn_menu"
60             android:contentDescription="@string/accessibility_toolbar_btn_menu" />
61         <org.chromium.chrome.browser.widget.TintedImageButton
62             android:id="@+id/delete_button"
63             style="@style/LocationBarButton"
64             android:layout_width="match_parent"
65             android:layout_height="match_parent"
66             android:scaleType="center"
67             android:src="@drawable/btn_delete_url"
68             android:visibility="invisible"
69             android:contentDescription="@string/accessibility_toolbar_btn_delete_url" />
70         <org.chromium.chrome.browser.widget.TintedImageButton
71             android:id="@+id/mic_button"
72             style="@style/LocationBarButton"
73             android:layout_width="match_parent"
74             android:layout_height="match_parent"
75             android:scaleType="center"
76             android:src="@drawable/btn_mic"
77             android:visibility="invisible"
78             android:contentDescription="@string/accessibility_toolbar_btn_mic" />
79     </FrameLayout>
80 </merge>