OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 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 | |
5 #ifndef UI_NATIVE_THEME_OVERLAY_SCROLLBAR_CONSTANTS_AURA_H_ | |
6 #define UI_NATIVE_THEME_OVERLAY_SCROLLBAR_CONSTANTS_AURA_H_ | |
7 | |
8 #include "ui/gfx/skia_util.h" | |
9 | |
10 namespace ui { | |
11 | |
12 constexpr int kOverlayScrollbarThumbWidthNormal = 6; | |
13 constexpr int kOverlayScrollbarThumbWidthHovered = 10; | |
14 constexpr int kOverlayScrollbarThumbWidthPressed = 10; | |
15 | |
16 constexpr int kOverlayScrollbarFadeOutDelayMs = 1000; | |
17 constexpr int kOverlayScrollbarFadeOutDurationMs = 200; | |
Peter Kasting
2016/10/18 00:43:36
Nit: Does it make sense to do something like this?
bokan
2016/10/18 20:34:49
Done + plumbing
| |
18 | |
19 // TODO(bokan): This is still undetermined. crbug.com/652520. | |
20 constexpr int kOverlayScrollbarThinningDurationMs = 200; | |
21 | |
22 } // namespace ui | |
23 | |
24 #endif // UI_NATIVE_THEME_OVERLAY_SCROLLBAR_CONSTANTS_AURA_H_ | |
OLD | NEW |