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

Unified Diff: chrome/browser/cocoa/page_info_window_mac.mm

Issue 3245012: Show Page Info InfoBubble on the right side for RTL languages and make sure W... (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
Index: chrome/browser/cocoa/page_info_window_mac.mm
===================================================================
--- chrome/browser/cocoa/page_info_window_mac.mm (revision 57972)
+++ chrome/browser/cocoa/page_info_window_mac.mm (working copy)
@@ -221,7 +221,7 @@
scoped_nsobject<NSImageView> image_view(
[[NSImageView alloc] initWithFrame:image_view_rect]);
[image_view setImageFrameStyle:NSImageFrameNone];
- [image_view setImage:(info.state != PageInfoModel::SECTION_STATE_ERROR) ?
+ [image_view setImage:(info.state == PageInfoModel::SECTION_STATE_OK) ?
good_image_.get() : bad_image_.get()];
// Add the box to the list of new subviews.
« no previous file with comments | « no previous file | chrome/browser/gtk/page_info_window_gtk.cc » ('j') | chrome/browser/views/page_info_bubble_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698