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

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

Issue 1560015: Replace omnibox icons with new set that are all the same size (19x19).... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 9 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/autocomplete_text_field_cell_unittest.mm
===================================================================
--- chrome/browser/cocoa/autocomplete_text_field_cell_unittest.mm (revision 43646)
+++ chrome/browser/cocoa/autocomplete_text_field_cell_unittest.mm (working copy)
@@ -205,7 +205,8 @@
// Location icon takes up space on the left
location_icon_view_.SetImage(
- ResourceBundle::GetSharedInstance().GetNSImageNamed(IDR_SECURE));
+ ResourceBundle::GetSharedInstance().GetNSImageNamed(
+ IDR_OMNIBOX_HTTPS_VALID));
location_icon_view_.SetVisible(true);
textFrame = [cell textFrameForFrame:bounds];
@@ -270,7 +271,8 @@
EXPECT_TRUE(NSEqualRects(drawingRect, originalDrawingRect));
location_icon_view_.SetImage(
- ResourceBundle::GetSharedInstance().GetNSImageNamed(IDR_SECURE));
+ ResourceBundle::GetSharedInstance().GetNSImageNamed(
+ IDR_OMNIBOX_HTTPS_VALID));
location_icon_view_.SetVisible(true);
textFrame = [cell textFrameForFrame:bounds];
@@ -285,7 +287,8 @@
static_cast<AutocompleteTextFieldCell*>([view_ cell]);
const NSRect bounds([view_ bounds]);
location_icon_view_.SetImage(
- ResourceBundle::GetSharedInstance().GetNSImageNamed(IDR_SECURE));
+ ResourceBundle::GetSharedInstance().GetNSImageNamed(
+ IDR_OMNIBOX_HTTPS_VALID));
location_icon_view_.SetVisible(true);
const NSRect iconRect = [cell locationIconFrameForFrame:bounds];
« no previous file with comments | « chrome/browser/cocoa/autocomplete_text_field_cell.mm ('k') | chrome/browser/cocoa/autocomplete_text_field_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698