Index: ui/views/metrics_mac.mm |
diff --git a/ui/views/metrics_mac.mm b/ui/views/metrics_mac.mm |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3a399d1946375a2896aa3c47cc6d0073194c4a48 |
--- /dev/null |
+++ b/ui/views/metrics_mac.mm |
@@ -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 |