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_IMPORT_PROGRESS_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_IMPORT_PROGRESS_DIALOG_H_ |
6 #define CHROME_BROWSER_IMPORT_PROGRESS_DIALOG_H_ | 6 #define CHROME_BROWSER_IMPORT_PROGRESS_DIALOG_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "chrome/browser/importer/importer.h" | 10 #include "chrome/browser/importer/importer.h" |
11 #include "chrome/browser/importer/importer_data_types.h" | 11 #include "chrome/common/importer_data_types.h" |
12 | 12 |
13 class ImporterObserverBridge; | 13 class ImporterObserverBridge; |
14 | 14 |
15 // Class that acts as a controller for the dialog that shows progress for an | 15 // Class that acts as a controller for the dialog that shows progress for an |
16 // import operation. | 16 // import operation. |
17 // Lifetime: This object is responsible for deleting itself. | 17 // Lifetime: This object is responsible for deleting itself. |
18 @interface ImportProgressDialogController : NSWindowController { | 18 @interface ImportProgressDialogController : NSWindowController { |
19 scoped_ptr<ImporterObserverBridge> import_host_observer_bridge_; | 19 scoped_ptr<ImporterObserverBridge> import_host_observer_bridge_; |
20 ImporterHost* importer_host_; // (weak) | 20 ImporterHost* importer_host_; // (weak) |
21 ImportObserver* observer_; // (weak) | 21 ImportObserver* observer_; // (weak) |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 [owner_ ImportEnded]; | 94 [owner_ ImportEnded]; |
95 } | 95 } |
96 | 96 |
97 private: | 97 private: |
98 ImportProgressDialogController* owner_; | 98 ImportProgressDialogController* owner_; |
99 | 99 |
100 DISALLOW_COPY_AND_ASSIGN(ImporterObserverBridge); | 100 DISALLOW_COPY_AND_ASSIGN(ImporterObserverBridge); |
101 }; | 101 }; |
102 | 102 |
103 #endif // CHROME_BROWSER_IMPORT_PROGRESS_DIALOG_H_ | 103 #endif // CHROME_BROWSER_IMPORT_PROGRESS_DIALOG_H_ |
OLD | NEW |