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

Unified Diff: chrome/browser/views/page_info_window_view.cc

Issue 3171031: Add mixed content warning to the Page Info bubble.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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/views/page_info_bubble_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/page_info_window_view.cc
===================================================================
--- chrome/browser/views/page_info_window_view.cc (revision 57510)
+++ chrome/browser/views/page_info_window_view.cc (working copy)
@@ -82,7 +82,7 @@
virtual void ModelChanged();
private:
- // This retreives the sections from the model and lay them out.
+ // This retrieves the sections from the model and lays them out.
void LayoutSections();
// Offsets the specified rectangle so it is showing on the screen and shifted
@@ -217,8 +217,9 @@
for (int i = 0; i < model_.GetSectionCount(); ++i) {
PageInfoModel::SectionInfo info = model_.GetSectionInfo(i);
layout->StartRow(0, 0);
- layout->AddView(new Section(info.title, info.state, info.headline,
- info.description));
+ layout->AddView(new Section(
+ info.title, info.state != PageInfoModel::SECTION_STATE_ERROR,
+ info.headline, info.description));
layout->AddPaddingRow(0, kVerticalPadding);
}
layout->AddPaddingRow(1, kVerticalPadding);
« no previous file with comments | « chrome/browser/views/page_info_bubble_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698