Logo Search packages:      
Sourcecode: chromium-browser version File versions  Download package

extension_installed_bubble_bridge.mm

// 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.

#import <Cocoa/Cocoa.h>

#import "extension_installed_bubble_bridge.h"

#include "chrome/browser/browser.h"
#import "chrome/browser/cocoa/extension_installed_bubble_controller.h"
#include "chrome/common/extensions/extension.h"

void ExtensionInstalledBubbleCocoa::ShowExtensionInstalledBubble(
    gfx::NativeWindow window,
    Extension* extension,
    Browser* browser,
    SkBitmap icon) {
  // The controller is deallocated when the window is closed, so no need to
  // worry about it here.
  [[ExtensionInstalledBubbleController alloc]
      initWithParentWindow:window
                 extension:extension
                   browser:browser
                      icon:icon];
}

Generated by  Doxygen 1.6.0   Back to index