blob: 01be70e8e27dfd69be1fe029a846caadd79a1e00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// 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.
#include "views/metrics.h"
#include <gtk/gtk.h>
namespace views {
int GetDoubleClickInterval() {
GdkDisplay* display = gdk_display_get_default();
return display ? display->double_click_time : 500;
}
int GetMenuShowDelay() {
return kDefaultMenuShowDelay;
}
} // namespace views
|