Open NaCl IRT file only once at startup
[chromium-blink-merge.git] / views / metrics_gtk.cc
blob01be70e8e27dfd69be1fe029a846caadd79a1e00
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "views/metrics.h"
7 #include <gtk/gtk.h>
9 namespace views {
11 int GetDoubleClickInterval() {
12 GdkDisplay* display = gdk_display_get_default();
13 return display ? display->double_click_time : 500;
16 int GetMenuShowDelay() {
17 return kDefaultMenuShowDelay;
20 } // namespace views