Index: views/view.h |
=================================================================== |
--- views/view.h (revision 37978) |
+++ views/view.h (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. |
@@ -137,12 +137,20 @@ |
// The view class name. |
static char kViewClassName[]; |
+ // The default value for how long to wait (in ms) before showing a menu |
+ // button on hover. This value is used if the OS doesn't supply one. |
+ static const int kShowFolderDropMenuDelay; |
sky
2010/02/04 20:58:49
Does this really need to be public? Also, it shoul
|
+ |
View(); |
virtual ~View(); |
// Returns the amount of time between double clicks, in milliseconds. |
static int GetDoubleClickTimeMS(); |
+ // Returns the amount of time to wait from hovering over a menu button until |
+ // showing the menu. |
+ static int GetMenuShowDelay(); |
+ |
// Sizing functions |
// Get the bounds of the View, relative to the parent. Essentially, this |