| OLD | NEW |
| 1 // Copyright (c) 2009 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_COCOA_IMPORT_SETTINGS_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_COCOA_IMPORT_SETTINGS_DIALOG_H_ |
| 6 #define CHROME_BROWSER_COCOA_IMPORT_SETTINGS_DIALOG_H_ | 6 #define CHROME_BROWSER_COCOA_IMPORT_SETTINGS_DIALOG_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
| 10 | 10 |
| 11 #include "base/ref_counted.h" | |
| 12 #include "base/scoped_nsobject.h" | 11 #include "base/scoped_nsobject.h" |
| 13 #include "chrome/browser/importer/importer.h" | 12 #include "chrome/browser/importer/importer.h" |
| 14 | 13 |
| 15 class Profile; | 14 class Profile; |
| 16 | 15 |
| 17 // Controller for the Import Bookmarks and Settings dialog. This controller | 16 // Controller for the Import Bookmarks and Settings dialog. This controller |
| 18 // automatically autoreleases itself when its associated dialog is dismissed. | 17 // automatically autoreleases itself when its associated dialog is dismissed. |
| 19 @interface ImportSettingsDialogController : NSWindowController { | 18 @interface ImportSettingsDialogController : NSWindowController { |
| 20 @private | 19 @private |
| 21 NSWindow* parentWindow_; // weak | 20 NSWindow* parentWindow_; // weak |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 // Designated initializer. |services| is a bitfield of enum ImportItems. | 89 // Designated initializer. |services| is a bitfield of enum ImportItems. |
| 91 - (id)initWithBrowserName:(NSString*)browserName | 90 - (id)initWithBrowserName:(NSString*)browserName |
| 92 services:(uint16)services; // Bitfield of enum ImportItems. | 91 services:(uint16)services; // Bitfield of enum ImportItems. |
| 93 | 92 |
| 94 @property(copy, nonatomic) NSString* browserName; | 93 @property(copy, nonatomic) NSString* browserName; |
| 95 @property(assign, nonatomic) uint16 services; // Bitfield of enum ImportItems. | 94 @property(assign, nonatomic) uint16 services; // Bitfield of enum ImportItems. |
| 96 | 95 |
| 97 @end | 96 @end |
| 98 | 97 |
| 99 #endif // CHROME_BROWSER_COCOA_IMPORT_SETTINGS_DIALOG_H_ | 98 #endif // CHROME_BROWSER_COCOA_IMPORT_SETTINGS_DIALOG_H_ |
| OLD | NEW |