summaryrefslogtreecommitdiffstats
path: root/views/view_win.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-24 02:04:44 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-24 02:04:44 +0000
commit04d3ea255b43e2a8807e5eba7c9ebf727c21227b (patch)
treebd6ac33ce92af973843d89a9d43ae45ee8461336 /views/view_win.cc
parent89fb232c2fa6dd588bda640c2fed57c8ad64aad7 (diff)
downloadchromium_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_win.cc')
-rw-r--r--views/view_win.cc15
1 files changed, 1 insertions, 14 deletions
diff --git a/views/view_win.cc b/views/view_win.cc
index f95e9e0..2c213c2 100644
--- a/views/view_win.cc
+++ b/views/view_win.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.
@@ -22,19 +22,6 @@
namespace views {
-// static
-int View::GetDoubleClickTimeMS() {
- return ::GetDoubleClickTime();
-}
-
-// static
-int View::GetMenuShowDelay() {
- static DWORD delay = 0;
- if (!delay && !SystemParametersInfo(SPI_GETMENUSHOWDELAY, 0, &delay, 0))
- delay = View::kShowFolderDropMenuDelay;
- return delay;
-}
-
void View::NotifyAccessibilityEvent(AccessibilityTypes::Event event_type,
bool send_native_event) {
// Send the notification to the delegate.