| 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 #import "chrome/browser/ui/cocoa/options/preferences_window_controller.h" |
| 6 |
| 5 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
| 6 | 8 |
| 7 #import "base/scoped_nsobject.h" | 9 #import "base/scoped_nsobject.h" |
| 8 #import "chrome/browser/ui/cocoa/preferences_window_controller.h" | |
| 9 #include "chrome/browser/ui/cocoa/browser_test_helper.h" | 10 #include "chrome/browser/ui/cocoa/browser_test_helper.h" |
| 10 #include "chrome/browser/ui/cocoa/cocoa_test_helper.h" | 11 #include "chrome/browser/ui/cocoa/cocoa_test_helper.h" |
| 11 #import "chrome/browser/ui/cocoa/custom_home_pages_model.h" | 12 #import "chrome/browser/ui/cocoa/options/custom_home_pages_model.h" |
| 12 #include "chrome/browser/ui/options/options_window.h" | 13 #include "chrome/browser/ui/options/options_window.h" |
| 13 #include "chrome/common/pref_names.h" | 14 #include "chrome/common/pref_names.h" |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
| 15 #import "testing/gtest_mac.h" | 16 #import "testing/gtest_mac.h" |
| 16 #include "testing/platform_test.h" | 17 #include "testing/platform_test.h" |
| 17 | 18 |
| 18 // Helper Objective-C object that sets a BOOL when we get a particular | 19 // Helper Objective-C object that sets a BOOL when we get a particular |
| 19 // callback from the prefs window. | 20 // callback from the prefs window. |
| 20 @interface PrefsClosedObserver : NSObject { | 21 @interface PrefsClosedObserver : NSObject { |
| 21 @public | 22 @public |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 | 232 |
| 232 // TODO(akalin): Figure out how to test animation; we'll need everything | 233 // TODO(akalin): Figure out how to test animation; we'll need everything |
| 233 // to stick around until the animation finishes. | 234 // to stick around until the animation finishes. |
| 234 } | 235 } |
| 235 | 236 |
| 236 // TODO(akalin): Figure out how to test sync controls. | 237 // TODO(akalin): Figure out how to test sync controls. |
| 237 // TODO(akalin): Figure out how to test that sync controls are not shown | 238 // TODO(akalin): Figure out how to test that sync controls are not shown |
| 238 // when there isn't a sync service. | 239 // when there isn't a sync service. |
| 239 | 240 |
| 240 } // namespace | 241 } // namespace |
| OLD | NEW |