// Copyright 2026 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import "ios/chrome/browser/toolbar/ui/toolbar_constants.h"

NSString* const kPrimaryToolbarViewIdentifier =
    @"kPrimaryToolbarViewIdentifier";
NSString* const kSecondaryToolbarViewIdentifier =
    @"kSecondaryToolbarViewIdentifier";
NSString* const kToolbarBackButtonIdentifier = @"kToolbarBackButtonIdentifier";
NSString* const kToolbarForwardButtonIdentifier =
    @"kToolbarForwardButtonIdentifier";
NSString* const kToolbarReloadButtonIdentifier =
    @"kToolbarReloadButtonIdentifier";
NSString* const kToolbarStopButtonIdentifier = @"kToolbarStopButtonIdentifier";
NSString* const kToolbarShareButtonIdentifier =
    @"kToolbarShareButtonIdentifier";
NSString* const kToolbarTabGridButtonIdentifier =
    @"kToolbarTabGridButtonIdentifier";
NSString* const kToolbarToolsMenuButtonIdentifier =
    @"kToolbarToolsMenuButtonIdentifier";
NSString* const kToolbarOmniboxButtonIdentifier =
    @"kToolbarOmniboxButtonIdentifier";
NSString* const kToolbarAssistantButtonIdentifier =
    @"kToolbarAssistantButtonIdentifier";

constexpr CGFloat kToolbarPromoBannerHeight = 50;

constexpr CGFloat kToolbarHeight = 62;
constexpr CGFloat kTopToolbarIPhonePortraitHeight = 54;
constexpr CGFloat kLocationBarHeight = 42;
constexpr CGFloat kTopLocationBarIPhonePortraitHeight = 46;
constexpr CGFloat kToolbarPadding = 10;
constexpr CGFloat kToolbarCompactLocationBarPadding = 8;

constexpr CGFloat kTopToolbarIPadHeightFullscreen = 20;
constexpr CGFloat kToolbarHeightFullscreen = 40;
constexpr CGFloat kTopToolbarIPhonePortraitHeightFullscreen = 32;
constexpr CGFloat kLocationBarHeightFullscreen = 32;
constexpr CGFloat kToolbarPaddingFullscreen = 4;
constexpr CGFloat kOuterSeparatorVerticalOffset = 4;
constexpr CGFloat kKeyboardAttachedOmniboxBottomPadding = 10;
constexpr CGFloat kKeyboardAttachedOmniboxBottomPaddingLandscape =
    kLocationBarHeightFullscreen - kOuterSeparatorVerticalOffset + 1;

constexpr CGFloat kGlassToolbarMargin = 5;
constexpr CGFloat kGlassFullscreenMargin = 2;
constexpr CGFloat kGlassExpandedHeight = 60;
constexpr CGFloat kGlassCollapsedHeight = 38;
