1 // Copyright 2013 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 UI_VIEWS_MOUSE_CONSTANTS_H_
6 #define UI_VIEWS_MOUSE_CONSTANTS_H_
8 #include "base/basictypes.h"
9 #include "ui/views/views_export.h"
13 // The amount of time the mouse should be down before a mouse release is
14 // considered intentional. This is to prevent spurious mouse releases from
15 // activating controls, especially when some UI element is revealed under the
16 // source of the activation (ex. menus showing underneath menu buttons).
17 VIEWS_EXPORT
extern const int kMinimumMsPressedToActivate
;
19 // The amount of time, in milliseconds, between clicks until they're considered
20 // intentionally different.
21 VIEWS_EXPORT
extern const int kMinimumMsBetweenButtonClicks
;
25 #endif // UI_VIEWS_MOUSE_CONSTANTS_H_