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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_controller_unittest.mm

Issue 6366001: [Mac] Move the associated find bar files into a subdir of c/b/ui/cocoa/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | Annotate | Revision Log
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_ptr.h" 7 #include "base/scoped_ptr.h"
8 #include "chrome/app/chrome_command_ids.h" 8 #include "chrome/app/chrome_command_ids.h"
9 #include "chrome/browser/browser_window.h" 9 #include "chrome/browser/browser_window.h"
10 #include "chrome/browser/prefs/pref_service.h" 10 #include "chrome/browser/prefs/pref_service.h"
11 #include "chrome/browser/sync/sync_ui_util.h" 11 #include "chrome/browser/sync/sync_ui_util.h"
12 #include "chrome/browser/ui/cocoa/browser_test_helper.h" 12 #include "chrome/browser/ui/cocoa/browser_test_helper.h"
13 #include "chrome/browser/ui/cocoa/browser_window_controller.h" 13 #include "chrome/browser/ui/cocoa/browser_window_controller.h"
14 #include "chrome/browser/ui/cocoa/cocoa_test_helper.h" 14 #include "chrome/browser/ui/cocoa/cocoa_test_helper.h"
15 #include "chrome/browser/ui/cocoa/find_bar_bridge.h" 15 #include "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h"
16 #include "chrome/common/pref_names.h" 16 #include "chrome/common/pref_names.h"
17 #include "chrome/test/testing_profile.h" 17 #include "chrome/test/testing_profile.h"
18 #include "grit/generated_resources.h" 18 #include "grit/generated_resources.h"
19 19
20 @interface BrowserWindowController (JustForTesting) 20 @interface BrowserWindowController (JustForTesting)
21 // Already defined in BWC. 21 // Already defined in BWC.
22 - (void)saveWindowPositionToPrefs:(PrefService*)prefs; 22 - (void)saveWindowPositionToPrefs:(PrefService*)prefs;
23 - (void)layoutSubviews; 23 - (void)layoutSubviews;
24 @end 24 @end
25 25
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 fullscreenWindow_.reset( 659 fullscreenWindow_.reset(
660 [[NSWindow alloc] initWithContentRect:NSMakeRect(0,0,400,400) 660 [[NSWindow alloc] initWithContentRect:NSMakeRect(0,0,400,400)
661 styleMask:NSBorderlessWindowMask 661 styleMask:NSBorderlessWindowMask
662 backing:NSBackingStoreBuffered 662 backing:NSBackingStoreBuffered
663 defer:NO]); 663 defer:NO]);
664 return fullscreenWindow_.get(); 664 return fullscreenWindow_.get();
665 } 665 }
666 @end 666 @end
667 667
668 /* TODO(???): test other methods of BrowserWindowController */ 668 /* TODO(???): test other methods of BrowserWindowController */
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller.mm ('k') | chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698