diff options
author | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-02 19:23:03 +0000 |
---|---|---|
committer | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-02 19:23:03 +0000 |
commit | 955be75d7b55716fd4a1eba787b9311be20b8ab8 (patch) | |
tree | be11a0e3e744ca1e6522126754a6d71dd046cd57 /chrome/browser/cocoa | |
parent | 13805a61dfe72b4ed668940ba3a5a18f12f0529c (diff) | |
download | chromium_src-955be75d7b55716fd4a1eba787b9311be20b8ab8.zip chromium_src-955be75d7b55716fd4a1eba787b9311be20b8ab8.tar.gz chromium_src-955be75d7b55716fd4a1eba787b9311be20b8ab8.tar.bz2 |
Change status bubble so that it expands to accommodate URL's that are abridged in the standard width.
BUG= http://crbug.com/1455
TEST= Mouse over a link which is abridged in the status bubble. Hover for 2 seconds. Link should expand to show as much as possible without extending out of the view in which it is contained.
Review URL: http://codereview.chromium.org/146043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19829 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa')
-rw-r--r-- | chrome/browser/cocoa/status_bubble_mac.h | 1 | ||||
-rw-r--r-- | chrome/browser/cocoa/status_bubble_mac.mm | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/status_bubble_mac.h b/chrome/browser/cocoa/status_bubble_mac.h index b6843c0..35b5dc5 100644 --- a/chrome/browser/cocoa/status_bubble_mac.h +++ b/chrome/browser/cocoa/status_bubble_mac.h @@ -25,6 +25,7 @@ class StatusBubbleMac : public StatusBubble { virtual void Hide(); virtual void MouseMoved(); virtual void UpdateDownloadShelfVisibility(bool visible); + virtual void SetBubbleWidth(int width); private: friend class StatusBubbleMacTest; diff --git a/chrome/browser/cocoa/status_bubble_mac.mm b/chrome/browser/cocoa/status_bubble_mac.mm index 160b086..e2d6c78 100644 --- a/chrome/browser/cocoa/status_bubble_mac.mm +++ b/chrome/browser/cocoa/status_bubble_mac.mm @@ -192,6 +192,10 @@ void StatusBubbleMac::UpdateDownloadShelfVisibility(bool visible) { NOTIMPLEMENTED(); } +void StatusBubbleMac::SetBubbleWidth(int width) { + NOTIMPLEMENTED(); +} + void StatusBubbleMac::Create() { if (window_) return; |