| 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 #include "base/scoped_ptr.h" | 7 #include "base/scoped_ptr.h" |
| 8 #include "base/scoped_nsobject.h" | 8 #include "base/scoped_nsobject.h" |
| 9 #include "chrome/common/pref_member.h" | 9 #include "chrome/common/pref_member.h" |
| 10 | 10 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 // Show the preferences window. | 68 // Show the preferences window. |
| 69 - (void)showPreferences:(id)sender; | 69 - (void)showPreferences:(id)sender; |
| 70 | 70 |
| 71 // IBAction methods for responding to user actions. | 71 // IBAction methods for responding to user actions. |
| 72 | 72 |
| 73 // Basics panel | 73 // Basics panel |
| 74 - (IBAction)makeDefaultBrowser:(id)sender; | 74 - (IBAction)makeDefaultBrowser:(id)sender; |
| 75 - (IBAction)addHomepage:(id)sender; | 75 - (IBAction)addHomepage:(id)sender; |
| 76 - (IBAction)removeSelectedHomepages:(id)sender; | 76 - (IBAction)removeSelectedHomepages:(id)sender; |
| 77 - (IBAction)useCurrentPagesAsHomepage:(id)sender; | 77 - (IBAction)useCurrentPagesAsHomepage:(id)sender; |
| 78 - (IBAction)manageSearchEngines:(id)sender; |
| 78 | 79 |
| 79 // User Data panel | 80 // User Data panel |
| 80 - (IBAction)showSavedPasswords:(id)sender; | 81 - (IBAction)showSavedPasswords:(id)sender; |
| 81 - (IBAction)importData:(id)sender; | 82 - (IBAction)importData:(id)sender; |
| 82 - (IBAction)clearData:(id)sender; | 83 - (IBAction)clearData:(id)sender; |
| 83 - (NSArray*)availableThemes; | 84 - (NSArray*)availableThemes; |
| 84 @property int currentTheme; | 85 @property int currentTheme; |
| 85 - (IBAction)themesGallery:(id)sender; | 86 - (IBAction)themesGallery:(id)sender; |
| 86 | 87 |
| 87 // Usable from cocoa bindings to hook up the custom home pages table. | 88 // Usable from cocoa bindings to hook up the custom home pages table. |
| 88 @property(readonly) CustomHomePagesModel* customPagesSource; | 89 @property(readonly) CustomHomePagesModel* customPagesSource; |
| 89 | 90 |
| 90 // NSNotification sent when the prefs window is closed. | 91 // NSNotification sent when the prefs window is closed. |
| 91 extern NSString* const kUserDoneEditingPrefsNotification; | 92 extern NSString* const kUserDoneEditingPrefsNotification; |
| 92 | 93 |
| 93 @end | 94 @end |
| OLD | NEW |