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

Side by Side Diff: chrome/browser/cocoa/bookmark_button_cell_unittest.mm

Issue 3129007: FBTF: Forward declare everything possible in testing_profile.h (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: argh mac problems now 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "app/resource_bundle.h" 5 #include "app/resource_bundle.h"
6 #include "base/scoped_nsobject.h" 6 #include "base/scoped_nsobject.h"
7 #include "chrome/browser/bookmarks/bookmark_model.h"
7 #import "chrome/browser/cocoa/bookmark_button_cell.h" 8 #import "chrome/browser/cocoa/bookmark_button_cell.h"
8 #import "chrome/browser/cocoa/bookmark_menu.h" 9 #import "chrome/browser/cocoa/bookmark_menu.h"
9 #include "chrome/browser/cocoa/browser_test_helper.h" 10 #include "chrome/browser/cocoa/browser_test_helper.h"
10 #import "chrome/browser/cocoa/cocoa_test_helper.h" 11 #import "chrome/browser/cocoa/cocoa_test_helper.h"
11 #include "grit/app_resources.h" 12 #include "grit/app_resources.h"
12 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
13 #include "testing/platform_test.h" 14 #include "testing/platform_test.h"
14 15
15 // Simple class to remember how many mouseEntered: and mouseExited: 16 // Simple class to remember how many mouseEntered: and mouseExited:
16 // calls it gets. Only used by BookmarkMouseForwarding but placed 17 // calls it gets. Only used by BookmarkMouseForwarding but placed
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 EXPECT_GE(size.width, 2); 172 EXPECT_GE(size.width, 2);
172 EXPECT_GE(size.height, 2); 173 EXPECT_GE(size.height, 2);
173 174
174 // Once we turn on arrow drawing make sure there is now room for it. 175 // Once we turn on arrow drawing make sure there is now room for it.
175 [cell setDrawFolderArrow:YES]; 176 [cell setDrawFolderArrow:YES];
176 NSSize arrowSize = [cell cellSize]; 177 NSSize arrowSize = [cell cellSize];
177 EXPECT_GT(arrowSize.width, size.width); 178 EXPECT_GT(arrowSize.width, size.width);
178 } 179 }
179 180
180 } // namespace 181 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/bookmark_bar_folder_controller_unittest.mm ('k') | chrome/browser/cocoa/bookmark_button_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698