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

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

Issue 2644903004: Move around more vector icons. (Closed)
Patch Set: fix comment Created 3 years, 11 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/location_bar_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
index dfd5d804207a409d8b2ccdbd671c1031e60dfde0..a6ab08b95ef619e95ba428b032898678d413ffe6 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -248,24 +248,29 @@ void LocationBarView::Init() {
}
zoom_view_ = new ZoomView(delegate_);
+ zoom_view_->Init();
AddChildView(zoom_view_);
open_pdf_in_reader_view_ = new OpenPDFInReaderView();
AddChildView(open_pdf_in_reader_view_);
manage_passwords_icon_view_ = new ManagePasswordsIconViews(command_updater());
+ manage_passwords_icon_view_->Init();
AddChildView(manage_passwords_icon_view_);
save_credit_card_icon_view_ =
new autofill::SaveCardIconView(command_updater(), browser_);
+ save_credit_card_icon_view_->Init();
save_credit_card_icon_view_->SetVisible(false);
AddChildView(save_credit_card_icon_view_);
translate_icon_view_ = new TranslateIconView(command_updater());
+ translate_icon_view_->Init();
translate_icon_view_->SetVisible(false);
AddChildView(translate_icon_view_);
star_view_ = new StarView(command_updater(), browser_);
+ star_view_->Init();
star_view_->SetVisible(false);
AddChildView(star_view_);

Powered by Google App Engine
This is Rietveld 408576698