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

Unified Diff: chrome/browser/ui/views/infobars/extension_infobar.cc

Issue 7237025: Updating Extension infobars to account for changes... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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
« no previous file with comments | « chrome/browser/resources/extensions_infobar.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/infobars/extension_infobar.cc
===================================================================
--- chrome/browser/ui/views/infobars/extension_infobar.cc (revision 90352)
+++ chrome/browser/ui/views/infobars/extension_infobar.cc (working copy)
@@ -66,8 +66,10 @@
menu_size.height());
GetDelegate()->extension_host()->view()->SetBounds(
- menu_->bounds().right() + kMenuHorizontalMargin, 0,
- std::max(0, EndX() - StartX() - ContentMinimumWidth()), height());
+ menu_->bounds().right() + kMenuHorizontalMargin,
+ arrow_height(),
+ std::max(0, EndX() - StartX() - ContentMinimumWidth()),
+ height() - arrow_height() - 1);
}
void ExtensionInfoBar::ViewHierarchyChanged(bool is_add,
« no previous file with comments | « chrome/browser/resources/extensions_infobar.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698