blob: 9ecba8aaa334d3ceb316bd4ee6e357802cef4221 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_NATIVE_THEME_OVERLAY_SCROLLBAR_CONSTANTS_AURA_H_
#define UI_NATIVE_THEME_OVERLAY_SCROLLBAR_CONSTANTS_AURA_H_
#include "base/time/time.h"
#include "ui/gfx/skia_util.h"
namespace ui {
constexpr int kOverlayScrollbarStrokeWidth = 1;
constexpr int kOverlayScrollbarThumbWidthPressed = 10;
constexpr float kOverlayScrollbarThumbNormalAlpha = 0.5f;
constexpr float kOverlayScrollbarThumbHoverAlpha = 0.7f;
constexpr float kOverlayScrollbarStrokeNormalAlpha = 0.3f;
constexpr float kOverlayScrollbarStrokeHoverAlpha = 0.5f;
constexpr base::TimeDelta kOverlayScrollbarFadeDelay =
base::TimeDelta::FromMilliseconds(500);
constexpr base::TimeDelta kOverlayScrollbarFadeDuration =
base::TimeDelta::FromMilliseconds(200);
// TODO(bokan): This is still undetermined. crbug.com/652520.
constexpr base::TimeDelta kOverlayScrollbarThinningDuration =
base::TimeDelta::FromMilliseconds(200);
} // namespace ui
#endif // UI_NATIVE_THEME_OVERLAY_SCROLLBAR_CONSTANTS_AURA_H_