summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/first_run_bubble.h
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-18 21:54:49 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-18 21:54:49 +0000
commit98e94a40052f163889a5d6026a24d750edf28818 (patch)
treecc100e38a4f40b260080aad9b4713d764bd3e303 /chrome/browser/views/first_run_bubble.h
parentea4dbc90144ad244f4520ac78d87040f0ee84221 (diff)
downloadchromium_src-98e94a40052f163889a5d6026a24d750edf28818.zip
chromium_src-98e94a40052f163889a5d6026a24d750edf28818.tar.gz
chromium_src-98e94a40052f163889a5d6026a24d750edf28818.tar.bz2
Implement fading in for the InfoBubble base class.
For bubbles that are not shown as a direct result of a mouse click, we use fade in. This applies to the FirstRun bubble and the extension installed bubble. For bubbles that have controls (buttons/links) we fade out if interacting with those controls closes the bubble. This applies to the first run bubble, app launcher, extension installed bubble, bookmark bubble and the content settings bubble. BUG=None TEST=Make sure the above-mentioned bubbles fade in and out during hide and show as described above. Review URL: http://codereview.chromium.org/2079008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47575 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/first_run_bubble.h')
-rw-r--r--chrome/browser/views/first_run_bubble.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/first_run_bubble.h b/chrome/browser/views/first_run_bubble.h
index 65037c4..adee35a 100644
--- a/chrome/browser/views/first_run_bubble.h
+++ b/chrome/browser/views/first_run_bubble.h
@@ -39,7 +39,7 @@ class FirstRunBubble : public InfoBubble,
virtual void InfoBubbleClosing(InfoBubble* info_bubble,
bool closed_by_escape);
virtual bool CloseOnEscape() { return true; }
- virtual bool FadeOutOnClose() { return false; }
+ virtual bool FadeInOnShow() { return true; }
// Whether we have already been activated.
bool has_been_activated_;