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

Unified Diff: chrome/browser/ui/views/website_settings/website_settings_popup_view.cc

Issue 10854079: Address post commit comments for CL 10828201 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/ui/views/website_settings/website_settings_popup_view.h ('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/website_settings/website_settings_popup_view.cc
diff --git a/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc b/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
index 1e74d8240b8a59ac964bc64532320249be9f2ffe..6aa1c47a25cac393d6d4bc085f53c5f615e94a92 100644
--- a/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
+++ b/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
@@ -154,7 +154,7 @@ class InternalPageInfoPopupView : public views::BubbleDelegateView {
////////////////////////////////////////////////////////////////////////////////
PopupHeaderView::PopupHeaderView(views::ButtonListener* close_button_listener)
- : name_(NULL), status_(NULL) {
+ : name_(NULL), status_(NULL) {
views::GridLayout* layout = new views::GridLayout(this);
SetLayoutManager(layout);
@@ -217,7 +217,7 @@ void PopupHeaderView::SetIdentityName(const string16& name) {
}
void PopupHeaderView::SetIdentityStatus(const string16& status,
- SkColor text_color) {
+ SkColor text_color) {
status_->SetText(status);
status_->SetEnabledColor(text_color);
}
@@ -236,8 +236,8 @@ InternalPageInfoPopupView::InternalPageInfoPopupView(views::View* anchor_view)
icon_view->SetImage(rb.GetImageSkiaNamed(IDR_PRODUCT_LOGO_26));
AddChildView(icon_view);
- string16 text = l10n_util::GetStringUTF16(IDS_PAGE_INFO_INTERNAL_PAGE);
- views::Label* label = new views::Label(text);
+ views::Label* label =
+ new views::Label(l10n_util::GetStringUTF16(IDS_PAGE_INFO_INTERNAL_PAGE));
label->SetMultiLine(true);
label->SetAllowCharacterBreak(true);
label->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
« no previous file with comments | « chrome/browser/ui/views/website_settings/website_settings_popup_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698