summaryrefslogtreecommitdiffstats
path: root/ui/views/metrics_mac.cc
blob: 3a399d1946375a2896aa3c47cc6d0073194c4a48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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