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

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

Issue 1519009: Delete unneeded scoped_nsautoreleasepool.h includes. (Closed)
Patch Set: Created 10 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/cocoa/browser_window_controller_unittest.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "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
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
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/cocoa/browser_window_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698