diff options
author | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-02 13:18:09 +0000 |
---|---|---|
committer | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-02 13:18:09 +0000 |
commit | 1505f8dcef17de85e2e9890ecfdb2b52fbbdbf95 (patch) | |
tree | 7d079c26e345664f6aa2821a57f1dd5ecb668819 /chrome/browser/cocoa | |
parent | fb57a6e96de8a8a05ae51968dc5570c4402a927f (diff) | |
download | chromium_src-1505f8dcef17de85e2e9890ecfdb2b52fbbdbf95.zip chromium_src-1505f8dcef17de85e2e9890ecfdb2b52fbbdbf95.tar.gz chromium_src-1505f8dcef17de85e2e9890ecfdb2b52fbbdbf95.tar.bz2 |
[Mac] Dismiss content setting bubbles when opening a new tab via Cmd+T.
BUG=48086
TEST=Go to a site with a content setting icon in the Omnibox. Click icon to open bubble. Hit Cmd+T; bubble closes.
Review URL: http://codereview.chromium.org/4241001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64736 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa')
-rw-r--r-- | chrome/browser/cocoa/content_setting_bubble_cocoa.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/content_setting_bubble_cocoa.mm b/chrome/browser/cocoa/content_setting_bubble_cocoa.mm index f5e7e93..dda55f5 100644 --- a/chrome/browser/cocoa/content_setting_bubble_cocoa.mm +++ b/chrome/browser/cocoa/content_setting_bubble_cocoa.mm @@ -437,6 +437,8 @@ NSTextField* LabelWithFrame(NSString* text, const NSRect& frame) { } - (void)awakeFromNib { + [super awakeFromNib]; + [[self bubble] setBubbleType:info_bubble::kWhiteInfoBubble]; [[self bubble] setArrowLocation:info_bubble::kTopRight]; |