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

Side by Side Diff: chrome/browser/cocoa/browser_window_controller_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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/l10n_util_mac.h" 5 #include "app/l10n_util_mac.h"
6 #include "base/scoped_nsobject.h" 6 #include "base/scoped_nsobject.h"
7 #include "base/scoped_nsautorelease_pool.h"
8 #include "base/scoped_ptr.h" 7 #include "base/scoped_ptr.h"
9 #include "chrome/app/chrome_dll_resource.h" 8 #include "chrome/app/chrome_dll_resource.h"
10 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
11 #include "chrome/browser/browser_window.h" 10 #include "chrome/browser/browser_window.h"
12 #include "chrome/browser/cocoa/browser_test_helper.h" 11 #include "chrome/browser/cocoa/browser_test_helper.h"
13 #include "chrome/browser/cocoa/browser_window_controller.h" 12 #include "chrome/browser/cocoa/browser_window_controller.h"
14 #include "chrome/browser/cocoa/cocoa_test_helper.h" 13 #include "chrome/browser/cocoa/cocoa_test_helper.h"
15 #include "chrome/browser/cocoa/find_bar_bridge.h" 14 #include "chrome/browser/cocoa/find_bar_bridge.h"
16 #include "chrome/browser/pref_service.h" 15 #include "chrome/browser/pref_service.h"
17 #include "chrome/browser/sync/sync_ui_util.h" 16 #include "chrome/browser/sync/sync_ui_util.h"
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 fullscreenWindow_.reset( 616 fullscreenWindow_.reset(
618 [[NSWindow alloc] initWithContentRect:NSMakeRect(0,0,400,400) 617 [[NSWindow alloc] initWithContentRect:NSMakeRect(0,0,400,400)
619 styleMask:NSBorderlessWindowMask 618 styleMask:NSBorderlessWindowMask
620 backing:NSBackingStoreBuffered 619 backing:NSBackingStoreBuffered
621 defer:NO]); 620 defer:NO]);
622 return fullscreenWindow_.get(); 621 return fullscreenWindow_.get();
623 } 622 }
624 @end 623 @end
625 624
626 /* TODO(???): test other methods of BrowserWindowController */ 625 /* TODO(???): test other methods of BrowserWindowController */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698