OLD | NEW |
---|---|
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 #ifndef CHROME_BROWSER_UI_COCOA_CLEAR_BROWSING_DATA_CONTROLLER_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_CLEAR_BROWSING_DATA_CONTROLLER_ |
6 #define CHROME_BROWSER_UI_COCOA_CLEAR_BROWSING_DATA_CONTROLLER_ | 6 #define CHROME_BROWSER_UI_COCOA_CLEAR_BROWSING_DATA_CONTROLLER_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
10 | 10 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
56 // performs the deletion of the selected browsing data. The values of the | 56 // performs the deletion of the selected browsing data. The values of the |
57 // checkboxes will be persisted into prefs for next time. | 57 // checkboxes will be persisted into prefs for next time. |
58 - (void)runModalDialog; | 58 - (void)runModalDialog; |
59 | 59 |
60 // IBActions for the dialog buttons | 60 // IBActions for the dialog buttons |
61 - (IBAction)clearData:(id)sender; | 61 - (IBAction)clearData:(id)sender; |
62 - (IBAction)cancel:(id)sender; | 62 - (IBAction)cancel:(id)sender; |
63 - (IBAction)openFlashPlayerSettings:(id)sender; | 63 - (IBAction)openFlashPlayerSettings:(id)sender; |
64 | 64 |
65 // Properties for bindings | 65 // Properties for bindings |
66 @property (nonatomic) BOOL clearBrowsingHistory; | 66 @property(nonatomic) BOOL clearBrowsingHistory; |
Robert Sesek
2011/01/24 18:03:57
Move this to be after the ivar block.
Nico
2011/01/24 18:13:25
Done.
| |
67 @property (nonatomic) BOOL clearDownloadHistory; | 67 @property(nonatomic) BOOL clearDownloadHistory; |
68 @property (nonatomic) BOOL emptyCache; | 68 @property(nonatomic) BOOL emptyCache; |
69 @property (nonatomic) BOOL deleteCookies; | 69 @property(nonatomic) BOOL deleteCookies; |
70 @property (nonatomic) BOOL clearSavedPasswords; | 70 @property(nonatomic) BOOL clearSavedPasswords; |
71 @property (nonatomic) BOOL clearFormData; | 71 @property(nonatomic) BOOL clearFormData; |
72 @property (nonatomic) NSInteger timePeriod; | 72 @property(nonatomic) NSInteger timePeriod; |
73 @property (nonatomic) BOOL isClearing; | 73 @property(nonatomic) BOOL isClearing; |
74 | 74 |
75 @end | 75 @end |
76 | 76 |
77 | 77 |
78 @interface ClearBrowsingDataController (ExposedForUnitTests) | 78 @interface ClearBrowsingDataController (ExposedForUnitTests) |
79 // Create the controller with the given profile (which must not be NULL). | 79 // Create the controller with the given profile (which must not be NULL). |
80 - (id)initWithProfile:(Profile*)profile; | 80 - (id)initWithProfile:(Profile*)profile; |
81 @property (readonly) int removeMask; | 81 @property(readonly) int removeMask; |
Robert Sesek
2011/01/24 18:03:57
Should be the first line of the @interface.
Nico
2011/01/24 18:13:25
Done.
| |
82 - (void)persistToPrefs; | 82 - (void)persistToPrefs; |
83 - (void)closeDialog; | 83 - (void)closeDialog; |
84 - (void)dataRemoverDidFinish; | 84 - (void)dataRemoverDidFinish; |
85 @end | 85 @end |
86 | 86 |
87 #endif // CHROME_BROWSER_UI_COCOA_CLEAR_BROWSING_DATA_CONTROLLER_ | 87 #endif // CHROME_BROWSER_UI_COCOA_CLEAR_BROWSING_DATA_CONTROLLER_ |
OLD | NEW |