diff options
-rw-r--r-- | chrome/browser/cocoa/find_bar_cocoa_controller_unittest.mm | 13 | ||||
-rw-r--r-- | chrome/chrome_dll.gypi | 2 |
2 files changed, 15 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/find_bar_cocoa_controller_unittest.mm b/chrome/browser/cocoa/find_bar_cocoa_controller_unittest.mm index 6532371..eb5e3fc 100644 --- a/chrome/browser/cocoa/find_bar_cocoa_controller_unittest.mm +++ b/chrome/browser/cocoa/find_bar_cocoa_controller_unittest.mm @@ -32,6 +32,14 @@ - (FindBarTextField*)findTextField { return findText_; } + +- (NSButton*)nextButton { + return nextButton_; +} + +- (NSButton*)previousButton { + return previousButton_; +} @end namespace { @@ -50,6 +58,11 @@ class FindBarCocoaControllerTest : public CocoaTest { TEST_VIEW(FindBarCocoaControllerTest, [controller_ view]) +TEST_F(FindBarCocoaControllerTest, ImagesLoadedProperly) { + EXPECT_TRUE([[[controller_ nextButton] image] isValid]); + EXPECT_TRUE([[[controller_ previousButton] image] isValid]); +} + TEST_F(FindBarCocoaControllerTest, ShowAndHide) { NSView* findBarView = [controller_ findBarView]; diff --git a/chrome/chrome_dll.gypi b/chrome/chrome_dll.gypi index 5af7333..52550f2 100644 --- a/chrome/chrome_dll.gypi +++ b/chrome/chrome_dll.gypi @@ -246,6 +246,8 @@ 'app/nibs/Toolbar.xib', 'app/theme/back_Template.pdf', 'app/theme/chevron.pdf', + 'app/theme/find_next_Template.pdf', + 'app/theme/find_prev_Template.pdf', 'app/theme/forward_Template.pdf', 'app/theme/home_Template.pdf', 'app/theme/menu_hierarchy_arrow.pdf', |