| 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 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 | 6 |
| 7 #import "extension_installed_bubble_bridge.h" | 7 #import "chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.h" |
| 8 | 8 |
| 9 #import "chrome/browser/ui/cocoa/extension_installed_bubble_controller.h" | 9 #import "chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controlle
r.h" |
| 10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
| 11 #include "chrome/common/extensions/extension.h" | 11 #include "chrome/common/extensions/extension.h" |
| 12 | 12 |
| 13 void ExtensionInstalledBubbleCocoa::ShowExtensionInstalledBubble( | 13 void ExtensionInstalledBubbleCocoa::ShowExtensionInstalledBubble( |
| 14 gfx::NativeWindow window, | 14 gfx::NativeWindow window, |
| 15 const Extension* extension, | 15 const Extension* extension, |
| 16 Browser* browser, | 16 Browser* browser, |
| 17 SkBitmap icon) { | 17 SkBitmap icon) { |
| 18 // The controller is deallocated when the window is closed, so no need to | 18 // The controller is deallocated when the window is closed, so no need to |
| 19 // worry about it here. | 19 // worry about it here. |
| 20 [[ExtensionInstalledBubbleController alloc] | 20 [[ExtensionInstalledBubbleController alloc] |
| 21 initWithParentWindow:window | 21 initWithParentWindow:window |
| 22 extension:extension | 22 extension:extension |
| 23 browser:browser | 23 browser:browser |
| 24 icon:icon]; | 24 icon:icon]; |
| 25 } | 25 } |
| OLD | NEW |