| Index: views/view_win.cc
|
| ===================================================================
|
| --- views/view_win.cc (revision 37978)
|
| +++ views/view_win.cc (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2010 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.
|
|
|
| @@ -20,6 +20,14 @@
|
| return ::GetDoubleClickTime();
|
| }
|
|
|
| +// static
|
| +int View::GetMenuShowDelay() {
|
| + static DWORD delay = 0;
|
| + if (!delay && !SystemParametersInfo(SPI_GETMENUSHOWDELAY, 0, &delay, 0))
|
| + delay = View::kShowFolderDropMenuDelay;
|
| + return delay;
|
| +}
|
| +
|
| ViewAccessibilityWrapper* View::GetViewAccessibilityWrapper() {
|
| if (accessibility_.get() == NULL) {
|
| accessibility_.reset(new ViewAccessibilityWrapper(this));
|
|
|