<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2021 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<resources>
    <dimen name="toolbar_tab_count_text_size_1_digit">12dp</dimen>
    <dimen name="toolbar_tab_count_text_size_2_digit">10dp</dimen>

    <!-- Tab Strip Dimensions -->
    <dimen name="tab_strip_height">0dp</dimen>

    <!-- Negative vertical inset added to the search box bounds when modern is enabled. 4dp is added
         to both the top and bottom bounds to bring the 48dp modern_toolbar_background_size to 56dp
         (matches toolbar_height_no_shadow). -->
    <dimen name="ntp_search_box_bounds_vertical_inset_modern">-4dp</dimen>
    <dimen name="ntp_search_box_height_polish">64dp</dimen>

    <!-- Toolbar Phone - Optional toolbar button dimensions -->
    <!-- Padding of button's background, only visible when showing a contextual action. -->
    <dimen name="toolbar_phone_optional_button_background_padding">6dp</dimen>
    <dimen name="toolbar_phone_optional_button_background_vertical_padding">8dp</dimen>
    <!-- Padding of optional button, used to adjust button's icon within its clickable area. -->
    <dimen name="toolbar_phone_optional_button_foreground_start_padding">14dp</dimen>
    <dimen name="toolbar_phone_optional_button_foreground_vertical_padding">16dp</dimen>
    <!-- Maximum width of optional button when expanded into an action chip. -->
    <dimen name="toolbar_phone_optional_button_action_chip_max_width">175dp</dimen>

    <!-- Home Button Menu dimensions-->
    <dimen name="home_button_list_menu_width">222dp</dimen>

    <dimen name="menu_badge_translation_y">6dp</dimen>

    <!-- Bottom controls dimensions -->
    <dimen name="bottom_controls_height">@dimen/min_touch_target_size</dimen>

    <!-- Custom Menu dimensions -->
    <dimen name="tab_switcher_menu_width">222dp</dimen>
    <dimen name="tab_switcher_menu_vertical_padding">8dp</dimen>
    <dimen name="adaptive_button_menu_vertical_padding">8dp</dimen>

    <!-- Custom Tabs dimensions -->
    <dimen name="toolbar_icon_height">24dp</dimen>

    <!-- Start surface toolbar dimensions -->
    <dimen name="start_surface_toolbar_button_padding_to_edge">16dp</dimen>
    <dimen name="start_surface_fake_search_box_top_margin">24dp</dimen>
    <dimen name="identity_disc_button_margin_start">8dp</dimen>
    <!-- The total height of the logo shown in Start surface content. This is
    calculated by |ntp_logo_height + ntp_logo_margin_top + ntp_logo_margin_bottom|. -->
    <dimen name="start_surface_content_logo_height">149dp</dimen>

    <!-- Navigation history popup dimensions -->
    <dimen name="navigation_popup_width">312dp</dimen>
    <dimen name="navigation_popup_item_height">56dp</dimen>
    <dimen name="navigation_popup_default_padding">16dp</dimen>
    <dimen name="navigation_popup_top_padding">8dp</dimen>
    <dimen name="navigation_popup_favicon_bg_size">36dp</dimen>

    <!-- Padding between rightmost button and strip end -->
    <dimen name="button_end_padding">8dp</dimen>

    <!-- Padding to visually position toolbar tab switcher we can get the min 48 x 48dp touch target. -->
    <dimen name="toolbar_tab_switcher_button_padding">8dp</dimen>
</resources>
