blob: bcb7cdde0544754443d67746a653fdd435e0057e [file] [log] [blame]
// Copyright (c) 2011 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.
#pragma once
#include "views/views_export.h"
namespace views {
// NOTE: All times in this file are/should be expressed in milliseconds.
// The default value for how long to wait before showing a menu button on hover.
// This value is used if the OS doesn't supply one.
extern const int kDefaultMenuShowDelay;
// Returns the amount of time between double clicks.
VIEWS_EXPORT int GetDoubleClickInterval();
// Returns the amount of time to wait from hovering over a menu button until
// showing the menu.
VIEWS_EXPORT int GetMenuShowDelay();
} // namespace views
#endif // VIEWS_METRICS_H_