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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller_unittest.mm

Issue 1471003005: Show tooltips for nested folders in the bookmark bar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove obsolete unit test fragment Created 5 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/bookmarks/bookmark_bar_folder_controller_unittest.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller_unittest.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller_unittest.mm
index 203b6f892e870bc3045011a99faab36a5cec0570..078e7bf41abc08f936b1a8a3926c03bbc9534af0 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller_unittest.mm
@@ -241,16 +241,6 @@ TEST_F(BookmarkBarFolderControllerTest, InitCreateAndDelete) {
EXPECT_TRUE(NSContainsRect(bigger, r));
EXPECT_TRUE([[button cell] isKindOfClass:cellClass]);
}
-
- // Confirm folder buttons have no tooltip. The important thing
- // really is that we insure folders and non-folders are treated
- // differently; not sure of any other generic way to do this.
- for (BookmarkButton* button in buttons) {
- if ([button isFolder])
- EXPECT_FALSE([button toolTip]);
- else
- EXPECT_TRUE([button toolTip]);
- }
}
// Make sure closing of the window releases the controller.

Powered by Google App Engine
This is Rietveld 408576698