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

Unified Diff: chrome/browser/ui/views/location_bar/web_intents_button_view.cc

Issue 10917280: Fix up views web intents location bar decoration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/ui/views/location_bar/web_intents_button_view.cc
diff --git a/chrome/browser/ui/views/location_bar/web_intents_button_view.cc b/chrome/browser/ui/views/location_bar/web_intents_button_view.cc
index c017a19eb0890d776688e98afbb45598ea973083..c6ec4b01365486b47a2e5d8e2b8bd29d9650d834 100644
--- a/chrome/browser/ui/views/location_bar/web_intents_button_view.cc
+++ b/chrome/browser/ui/views/location_bar/web_intents_button_view.cc
@@ -34,9 +34,10 @@ void WebIntentsButtonView::Update(TabContents* tab_contents) {
int animated_string_id = IDS_INTENT_PICKER_USE_ANOTHER_SERVICE;
string16 animated_text = l10n_util::GetStringUTF16(animated_string_id);
SetTooltipText(animated_text);
+ PreferredSizeChanged();
- StartLabelAnimation(animated_text, kMoveTimeMs);
AlwaysDrawText();
Peter Kasting 2012/09/15 00:23:46 Nit: If the order of these statements matters, wri
Greg Billock 2012/09/15 04:58:20 It shouldn't, but belongs this way. I'll add a com
+ StartLabelAnimation(animated_text, kMoveTimeMs);
}
void WebIntentsButtonView::OnClick(LocationBarView* parent) {

Powered by Google App Engine
This is Rietveld 408576698