Revert 97987 - Switching NaCl IRT to be built inside the chrome build.
[chromium-blink-merge.git] / views / metrics.h
blobbcb7cdde0544754443d67746a653fdd435e0057e
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_
7 #pragma once
9 #include "views/views_export.h"
11 namespace views {
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
23 // showing the menu.
24 VIEWS_EXPORT int GetMenuShowDelay();
26 } // namespace views
28 #endif // VIEWS_METRICS_H_