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 // C++ bridge function to connect ExtensionInstallUI to the Cocoa-based | |
6 // extension installed bubble. | |
7 | |
8 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSION_INSTALLED_BUBBLE_BRIDGE_H_ | |
9 #define CHROME_BROWSER_UI_COCOA_EXTENSION_INSTALLED_BUBBLE_BRIDGE_H_ | |
10 #pragma once | |
11 | |
12 #include "gfx/native_widget_types.h" | |
13 #include "third_party/skia/include/core/SkBitmap.h" | |
14 | |
15 class Browser; | |
16 class Extension; | |
17 | |
18 namespace ExtensionInstalledBubbleCocoa { | |
19 | |
20 // This function is called by the ExtensionInstallUI when an extension has been | |
21 // installed. | |
22 void ShowExtensionInstalledBubble(gfx::NativeWindow window, | |
23 const Extension* extension, | |
24 Browser* browser, | |
25 SkBitmap icon); | |
26 } | |
27 | |
28 #endif // CHROME_BROWSER_UI_COCOA_EXTENSION_INSTALLED_BUBBLE_BRIDGE_H_ | |
OLD | NEW |