Drive: Add BatchableRequest subclass.
[chromium-blink-merge.git] / ui / views / mouse_constants.h
bloba0dce80f0cf67d04110f73b10b45966f1ea61e41
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"
10 namespace views {
12 // The amount of time the mouse should be down before a mouse release is
13 // considered intentional. This is to prevent spurious mouse releases from
14 // activating controls, especially when some UI element is revealed under the
15 // source of the activation (ex. menus showing underneath menu buttons).
16 const int kMinimumMsPressedToActivate = 200;
18 // The amount of time, in milliseconds, between clicks until they're
19 // considered intentionally different.
20 const int kMinimumMsBetweenButtonClicks = 100;
22 } // namespace views
24 #endif // UI_VIEWS_MOUSE_CONSTANTS_H_