Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(570)

Side by Side Diff: ui/native_theme/overlay_scrollbar_constants_aura.h

Issue 2421913002: Change Aura overlay scrollbars from solid color to painted scrollbars. (Closed)
Patch Set: Address pkasting@'s feedback Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW
« ui/native_theme/native_theme_aura.cc ('K') | « ui/native_theme/native_theme_base.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698