Chromium Code Reviews| Index: sky/framework/view-configuration.dart |
| diff --git a/sky/framework/view-configuration.dart b/sky/framework/view-configuration.dart |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..5100d9cdbcc790753e19e8d6ded459cb2c764ea4 |
| --- /dev/null |
| +++ b/sky/framework/view-configuration.dart |
| @@ -0,0 +1,12 @@ |
| +// Copyright 2015 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. |
| + |
| +// Modeled after Android's ViewConfiguration: |
| +// https://github.com/android/platform_frameworks_base/blob/master/core/java/android/view/ViewConfiguration.java |
| + |
| +class ViewConfiguration { |
| + final int kScrollbarSize = 10; |
| + final int kScrollbarFadeDelay = 300; |
| + final int kScrollbarFadeDuration = 250; |
| +} |
|
abarth-chromium
2015/02/24 21:48:25
Why not just have top-level constants in this file
|