diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-14 18:06:18 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-14 18:06:18 +0000 |
commit | efa71ab24691126e8a1d11f177b64c674a5c9f68 (patch) | |
tree | a6aabe7e82cba21727a0506d4f0f783db20eae9b /chrome/browser/status_bubble.h | |
parent | fac9a45d0e29394b6445a4a1a8ec20dc9e917a3d (diff) | |
download | chromium_src-efa71ab24691126e8a1d11f177b64c674a5c9f68.zip chromium_src-efa71ab24691126e8a1d11f177b64c674a5c9f68.tar.gz chromium_src-efa71ab24691126e8a1d11f177b64c674a5c9f68.tar.bz2 |
GTK: expand status bar when user hovers over a link for long enough.
BUG=43192
TEST=none
Review URL: http://codereview.chromium.org/2033010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47285 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/status_bubble.h')
-rw-r--r-- | chrome/browser/status_bubble.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/status_bubble.h b/chrome/browser/status_bubble.h index 43851be..8ed364f 100644 --- a/chrome/browser/status_bubble.h +++ b/chrome/browser/status_bubble.h @@ -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. @@ -19,6 +19,9 @@ class Point; // class StatusBubble { public: + // On hover, expand status bubble to fit long URL after this delay. + static const int kExpandHoverDelay = 1600; + virtual ~StatusBubble() {} // Sets the bubble contents to a specific string and causes the bubble @@ -49,9 +52,6 @@ class StatusBubble { // This is used by to ensure that the status bubble does not obscure // the download shelf, when it is visible. virtual void UpdateDownloadShelfVisibility(bool visible) = 0; - - // Allow StatusView animation to set width of StatusBubble. - virtual void SetBubbleWidth(int width) = 0; }; #endif // CHROME_BROWSER_STATUS_BUBBLE_H_ |