| 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 #include "chrome/browser/extensions/extension_uninstall_dialog.h" | 5 #include "chrome/browser/extensions/extension_uninstall_dialog.h" |
| 6 | 6 |
| 7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 delegate_->ExtensionUninstallCanceled(); | 66 delegate_->ExtensionUninstallCanceled(); |
| 67 } | 67 } |
| 68 | 68 |
| 69 } // namespace | 69 } // namespace |
| 70 | 70 |
| 71 // static | 71 // static |
| 72 extensions::ExtensionUninstallDialog* | 72 extensions::ExtensionUninstallDialog* |
| 73 extensions::ExtensionUninstallDialog::Create(Profile* profile, | 73 extensions::ExtensionUninstallDialog::Create(Profile* profile, |
| 74 gfx::NativeWindow parent, | 74 gfx::NativeWindow parent, |
| 75 Delegate* delegate) { | 75 Delegate* delegate) { |
| 76 return new ExtensionUninstallDialogCocoa(profile, parent, delegate); | 76 return new ExtensionUninstallDialogCocoa(profile, delegate); |
| 77 } | 77 } |
| OLD | NEW |