| Index: chrome/browser/ui/cocoa/browser_window_controller_unittest.mm
|
| ===================================================================
|
| --- chrome/browser/ui/cocoa/browser_window_controller_unittest.mm (revision 115368)
|
| +++ chrome/browser/ui/cocoa/browser_window_controller_unittest.mm (working copy)
|
| @@ -53,10 +53,6 @@
|
| return static_cast<NSSplitView*>([devToolsController_ view]);
|
| }
|
|
|
| -- (NSView*)sidebarView {
|
| - return [sidebarController_ view];
|
| -}
|
| -
|
| - (BOOL)bookmarkBarVisible {
|
| return [bookmarkBarController_ isVisible];
|
| }
|
| @@ -609,20 +605,6 @@
|
| EXPECT_GT(findBar_index, bookmark_index);
|
| }
|
|
|
| -// Tests that the sidebar view and devtools view are both non-opaque.
|
| -TEST_F(BrowserWindowControllerTest, TestSplitViewsAreNotOpaque) {
|
| - // Add a subview to the sidebar view to mimic what happens when a tab is added
|
| - // to the window. NSSplitView only marks itself as non-opaque when one of its
|
| - // subviews is non-opaque, so the test will not pass without this subview.
|
| - scoped_nsobject<NSView> view(
|
| - [[NSView alloc] initWithFrame:NSMakeRect(0, 0, 10, 10)]);
|
| - [[controller_ sidebarView] addSubview:view];
|
| -
|
| - EXPECT_FALSE([[controller_ tabContentArea] isOpaque]);
|
| - EXPECT_FALSE([[controller_ devToolsView] isOpaque]);
|
| - EXPECT_FALSE([[controller_ sidebarView] isOpaque]);
|
| -}
|
| -
|
| // Tests that status bubble's base frame does move when devTools are docked.
|
| TEST_F(BrowserWindowControllerTest, TestStatusBubblePositioning) {
|
| ASSERT_EQ(1U, [[[controller_ devToolsView] subviews] count]);
|
|
|