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