constants.h 747 B

12345678910111213141516171819
  1. // Copyright 2020 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef IOS_CHROME_COMMON_CONSTANTS_H_
  5. #define IOS_CHROME_COMMON_CONSTANTS_H_
  6. #include <CoreGraphics/CoreGraphics.h>
  7. #import <Foundation/Foundation.h>
  8. // Time to expire passwords copied to the pasteboard.
  9. extern const NSTimeInterval kSecurePasteboardExpiration;
  10. // The em-width value used to differentiate small and large devices.
  11. // With Larger Text Off, Bold Text Off and the device orientation in portrait:
  12. // iPhone 5s is considered as a small device, unlike iPhone 8 or iPhone 12 mini.
  13. extern const CGFloat kSmallDeviceThreshold;
  14. #endif // IOS_CHROME_COMMON_CONSTANTS_H_