From 6f17052f241bad735fa0ac23997951b3702d19f9 Mon Sep 17 00:00:00 2001 From: "finnur@chromium.org" Date: Wed, 1 Sep 2010 08:55:53 +0000 Subject: Show Page Info InfoBubble on the right side for RTL languages and make sure Warning is treated as error in old dialog (which is how it was before). BUG=http://crbug.com/52916 TEST=Open SSL Infobubble on RTL languages, make sure it points to the right location. Then open a gmail containing an external image (not attached, but embedded) and make sure the old SSL dialog (not the infobubble) shows an error for mixed content, not the green icon. Review URL: http://codereview.chromium.org/3245012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58150 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/page_info_window_view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/views/page_info_window_view.cc') diff --git a/chrome/browser/views/page_info_window_view.cc b/chrome/browser/views/page_info_window_view.cc index 690fc9a..4b65c7a 100644 --- a/chrome/browser/views/page_info_window_view.cc +++ b/chrome/browser/views/page_info_window_view.cc @@ -218,7 +218,7 @@ void PageInfoWindowView::LayoutSections() { PageInfoModel::SectionInfo info = model_.GetSectionInfo(i); layout->StartRow(0, 0); layout->AddView(new Section( - info.title, info.state != PageInfoModel::SECTION_STATE_ERROR, + info.title, info.state == PageInfoModel::SECTION_STATE_OK, info.headline, info.description)); layout->AddPaddingRow(0, kVerticalPadding); } -- cgit v1.1