diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-24 02:04:44 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-24 02:04:44 +0000 |
commit | 04d3ea255b43e2a8807e5eba7c9ebf727c21227b (patch) | |
tree | bd6ac33ce92af973843d89a9d43ae45ee8461336 /views/view_gtk.cc | |
parent | 89fb232c2fa6dd588bda640c2fed57c8ad64aad7 (diff) | |
download | chromium_src-04d3ea255b43e2a8807e5eba7c9ebf727c21227b.zip chromium_src-04d3ea255b43e2a8807e5eba7c9ebf727c21227b.tar.gz chromium_src-04d3ea255b43e2a8807e5eba7c9ebf727c21227b.tar.bz2 |
views: Factor out from View class some metric functions and constants into its own files.
(Note: This was a TODO for ben to move to metrics.h)
BUG=None
TEST=trybots
Review URL: http://codereview.chromium.org/6577004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75841 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/view_gtk.cc')
-rw-r--r-- | views/view_gtk.cc | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/views/view_gtk.cc b/views/view_gtk.cc index 464534a..b666338 100644 --- a/views/view_gtk.cc +++ b/views/view_gtk.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// 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. @@ -11,16 +11,6 @@ namespace views { -// static -int View::GetDoubleClickTimeMS() { - GdkDisplay* display = gdk_display_get_default(); - return display ? display->double_click_time : 500; -} - -int View::GetMenuShowDelay() { - return kShowFolderDropMenuDelay; -} - void View::NotifyAccessibilityEvent(AccessibilityTypes::Event event_type, bool send_native_event) { // Send the notification to the delegate. |