OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_VIEWS_IMPORTER_IMPORT_LOCK_DIALOG_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_IMPORTER_IMPORT_LOCK_DIALOG_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_IMPORTER_IMPORT_LOCK_DIALOG_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_IMPORTER_IMPORT_LOCK_DIALOG_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "ui/views/window/dialog_delegate.h" |
12 #include "views/view.h" | 13 #include "views/view.h" |
13 #include "views/window/dialog_delegate.h" | |
14 | 14 |
15 namespace views { | 15 namespace views { |
16 class Label; | 16 class Label; |
17 } | 17 } |
18 | 18 |
19 class ImporterHost; | 19 class ImporterHost; |
20 | 20 |
21 // ImportLockDialogView asks the user to shut down Firefox before starting the | 21 // ImportLockDialogView asks the user to shut down Firefox before starting the |
22 // profile import. | 22 // profile import. |
23 class ImportLockDialogView : public views::DialogDelegateView { | 23 class ImportLockDialogView : public views::DialogDelegateView { |
(...skipping 19 matching lines...) Expand all Loading... |
43 private: | 43 private: |
44 views::Label* description_label_; | 44 views::Label* description_label_; |
45 | 45 |
46 // Utility class that does the actual import. | 46 // Utility class that does the actual import. |
47 scoped_refptr<ImporterHost> importer_host_; | 47 scoped_refptr<ImporterHost> importer_host_; |
48 | 48 |
49 DISALLOW_COPY_AND_ASSIGN(ImportLockDialogView); | 49 DISALLOW_COPY_AND_ASSIGN(ImportLockDialogView); |
50 }; | 50 }; |
51 | 51 |
52 #endif // CHROME_BROWSER_UI_VIEWS_IMPORTER_IMPORT_LOCK_DIALOG_VIEW_H_ | 52 #endif // CHROME_BROWSER_UI_VIEWS_IMPORTER_IMPORT_LOCK_DIALOG_VIEW_H_ |
OLD | NEW |