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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_main_container_unittest.mm

Issue 84343002: [rAC, OSX] Use a bubble for tooltips. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: It slices! It dices! And now even WITH TESTS! Created 7 years, 1 month 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/ui/cocoa/autofill/autofill_main_container_unittest.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_main_container_unittest.mm b/chrome/browser/ui/cocoa/autofill/autofill_main_container_unittest.mm
index 4c0171648ed6e1e002a621158c2b8d4f54533975..21fec83802aa6c667a27746f28e5a2150225b70e 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_main_container_unittest.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_main_container_unittest.mm
@@ -50,6 +50,8 @@ TEST_F(AutofillMainContainerTest, SubViews) {
NSArray* subviews = [view subviews];
if ([view isKindOfClass:[NSScrollView class]]) {
hasDetailsContainer = true;
+ } else if (view == [container_ saveInChromeTooltipForTesting]) {
+ hasCheckboxTooltip = true;
Robert Sesek 2013/12/02 17:16:53 nit: over-indented
groby-ooo-7-16 2013/12/02 20:41:57 Done.
} else if ([subviews count] == 2) {
EXPECT_TRUE(
[[subviews objectAtIndex:0] isKindOfClass:[NSButton class]]);
@@ -59,8 +61,6 @@ TEST_F(AutofillMainContainerTest, SubViews) {
} else if ([view isKindOfClass:[NSImageView class]]) {
if (view == [container_ buttonStripImageForTesting])
hasButtonStripImage = true;
- else if (view == [container_ saveInChromeTooltipForTesting])
- hasCheckboxTooltip = true;
else
EXPECT_TRUE(false); // Unknown image view; should not be reachable.
} else if ([view isKindOfClass:[NSTextView class]]) {

Powered by Google App Engine
This is Rietveld 408576698