Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: ui/views/metrics_gtk.cc

Issue 9728002: Removing deprecated GTK-Views code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/views/ime/input_method_gtk.cc ('k') | ui/views/view_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #include "ui/views/metrics.h"
6
7 #include <gtk/gtk.h>
8
9 namespace views {
10
11 int GetDoubleClickInterval() {
12 GdkDisplay* display = gdk_display_get_default();
13 return display ? display->double_click_time : 500;
14 }
15
16 int GetMenuShowDelay() {
17 return kDefaultMenuShowDelay;
18 }
19
20 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/ime/input_method_gtk.cc ('k') | ui/views/view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698