// Copyright 2018 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/location_bar/ui_bundled/location_bar_constants.h"

const CGFloat kiPhoneLocationBarPlaceholderColorBrightness = 150 / 255.0;

const double kFullscreenProgressThreshold = 0.85;

NSString* const kDotComTLD = @".com";

NSString* const kOmniboxShareButtonIdentifier =
    @"kOmniboxShareButtonIdentifier";

NSString* const kOmniboxVoiceSearchButtonIdentifier =
    @"kOmniboxVoiceSearchButtonIdentifier";

UIContentSizeCategory LegacyLocationBarSteadyViewMaxSizeCategory() {
  return UIContentSizeCategoryAccessibilityExtraLarge;
}

UIContentSizeCategory LocationBarSteadyViewMaxSizeCategory() {
  return UIContentSizeCategoryAccessibilityLarge;
}

UIFontTextStyle LocationBarFontTextStyle() {
  return UIFontTextStyleBody;
}
