Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Unified Diff: chrome/browser/views/extensions/extension_shelf.cc

Issue 211027: Change BrowserBubble to use Close instead of CloseNow. This should make (Closed)
Patch Set: gtk Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/views/extensions/extension_shelf.cc
diff --git a/chrome/browser/views/extensions/extension_shelf.cc b/chrome/browser/views/extensions/extension_shelf.cc
index 19f0f033bf106daf3d12f22138a3e60a46123169..a3ac3bf2364a7f8d3fe710d630d1edcc11df0e10 100644
--- a/chrome/browser/views/extensions/extension_shelf.cc
+++ b/chrome/browser/views/extensions/extension_shelf.cc
@@ -473,9 +473,8 @@ void ExtensionShelf::Toolstrip::AnimationProgressed(
void ExtensionShelf::Toolstrip::AnimationEnded(const Animation* animation) {
LayoutHandle();
if (!expanded_) {
- // Must use the delay due to bug 18248.
- HideShelfHandle(kHideDelayMs * 2);
AttachToShelf(false);
+ HideShelfHandle(0);
}
}
« chrome/browser/views/browser_bubble_gtk.cc ('K') | « chrome/browser/views/browser_bubble_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698