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