1 // Copyright (c) 2011 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.
5 #ifndef VIEWS_METRICS_H_
6 #define VIEWS_METRICS_H_
9 #include "views/views_export.h"
13 // NOTE: All times in this file are/should be expressed in milliseconds.
15 // The default value for how long to wait before showing a menu button on hover.
16 // This value is used if the OS doesn't supply one.
17 extern const int kDefaultMenuShowDelay
;
19 // Returns the amount of time between double clicks.
20 VIEWS_EXPORT
int GetDoubleClickInterval();
22 // Returns the amount of time to wait from hovering over a menu button until
24 VIEWS_EXPORT
int GetMenuShowDelay();
28 #endif // VIEWS_METRICS_H_