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