OLD | NEW |
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 "base/scoped_nsobject.h" | 5 #include "base/scoped_nsobject.h" |
6 #include "base/scoped_nsautorelease_pool.h" | |
7 #include "base/scoped_ptr.h" | 6 #include "base/scoped_ptr.h" |
8 #include "base/string_util.h" | 7 #include "base/string_util.h" |
9 #include "chrome/browser/bookmarks/bookmark_utils.h" | 8 #include "chrome/browser/bookmarks/bookmark_utils.h" |
10 #include "chrome/browser/cocoa/browser_test_helper.h" | 9 #include "chrome/browser/cocoa/browser_test_helper.h" |
11 #include "chrome/browser/cocoa/browser_window_cocoa.h" | 10 #include "chrome/browser/cocoa/browser_window_cocoa.h" |
12 #include "chrome/browser/cocoa/browser_window_controller.h" | 11 #include "chrome/browser/cocoa/browser_window_controller.h" |
13 #include "chrome/browser/cocoa/cocoa_test_helper.h" | 12 #include "chrome/browser/cocoa/cocoa_test_helper.h" |
14 #include "chrome/common/notification_type.h" | 13 #include "chrome/common/notification_type.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
16 | 15 |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 111 |
113 EXPECT_FALSE(bwc->IsFullscreen()); | 112 EXPECT_FALSE(bwc->IsFullscreen()); |
114 bwc->SetFullscreen(true); | 113 bwc->SetFullscreen(true); |
115 EXPECT_TRUE(bwc->IsFullscreen()); | 114 EXPECT_TRUE(bwc->IsFullscreen()); |
116 bwc->SetFullscreen(false); | 115 bwc->SetFullscreen(false); |
117 EXPECT_FALSE(bwc->IsFullscreen()); | 116 EXPECT_FALSE(bwc->IsFullscreen()); |
118 [fake_controller close]; | 117 [fake_controller close]; |
119 } | 118 } |
120 | 119 |
121 // TODO(???): test other methods of BrowserWindowCocoa | 120 // TODO(???): test other methods of BrowserWindowCocoa |
OLD | NEW |