summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/extension_installed_bubble_bridge.h
blob: f838fd53bbba3b845b16edafb7525d488c891633 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// C++ bridge function to connect ExtensionInstallUI to the Cocoa-based
// extension installed bubble.

#ifndef CHROME_BROWSER_COCOA_EXTENSION_INSTALLED_BUBBLE_BRIDGE_H_
#define CHROME_BROWSER_COCOA_EXTENSION_INSTALLED_BUBBLE_BRIDGE_H_

#include "gfx/native_widget_types.h"
#include "third_party/skia/include/core/SkBitmap.h"

class Browser;
class Extension;

namespace ExtensionInstalledBubbleCocoa {

// This function is called by the ExtensionInstallUI when an extension has been
// installed.
void ShowExtensionInstalledBubble(gfx::NativeWindow window,
                                  Extension* extension,
                                  Browser* browser,
                                  SkBitmap icon);
}

#endif  // CHROME_BROWSER_COCOA_EXTENSION_INSTALLED_BUBBLE_BRIDGE_H_