diff options
Diffstat (limited to 'chromium/ui/views/metrics_mac.cc')
-rw-r--r-- | chromium/ui/views/metrics_mac.cc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/chromium/ui/views/metrics_mac.cc b/chromium/ui/views/metrics_mac.cc new file mode 100644 index 00000000000..3a399d19463 --- /dev/null +++ b/chromium/ui/views/metrics_mac.cc @@ -0,0 +1,25 @@ +// Copyright 2014 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. + +#include "ui/views/metrics.h" + +namespace { + +// Default double click interval in milliseconds. +// Same as what gtk uses. +const int kDefaultDoubleClickInterval = 500; + +} // namespace + +namespace views { + +int GetDoubleClickInterval() { + return kDefaultDoubleClickInterval; +} + +int GetMenuShowDelay() { + return 0; +} + +} // namespace views |