Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Side by Side Diff: chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "chrome/browser/extensions/bundle_installer.h" 7 #include "chrome/browser/extensions/bundle_installer.h"
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/browser_window.h" 9 #include "chrome/browser/ui/browser_window.h"
10 #import "chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controlle r.h" 10 #import "chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controlle r.h"
11 #include "chrome/common/extensions/extension.h" 11 #include "extensions/common/extension.h"
12 #include "third_party/skia/include/core/SkBitmap.h" 12 #include "third_party/skia/include/core/SkBitmap.h"
13 13
14 using extensions::BundleInstaller; 14 using extensions::BundleInstaller;
15 15
16 namespace chrome { 16 namespace chrome {
17 17
18 void ShowExtensionInstalledBubble(const extensions::Extension* extension, 18 void ShowExtensionInstalledBubble(const extensions::Extension* extension,
19 Browser* browser, 19 Browser* browser,
20 const SkBitmap& icon) { 20 const SkBitmap& icon) {
21 // The controller is deallocated when the window is closed, so no need to 21 // The controller is deallocated when the window is closed, so no need to
(...skipping 12 matching lines...) Expand all
34 const BundleInstaller* bundle, Browser* browser) { 34 const BundleInstaller* bundle, Browser* browser) {
35 // The controller is deallocated when the window is closed, so no need to 35 // The controller is deallocated when the window is closed, so no need to
36 // worry about it here. 36 // worry about it here.
37 [[ExtensionInstalledBubbleController alloc] 37 [[ExtensionInstalledBubbleController alloc]
38 initWithParentWindow:browser->window()->GetNativeWindow() 38 initWithParentWindow:browser->window()->GetNativeWindow()
39 extension:NULL 39 extension:NULL
40 bundle:bundle 40 bundle:bundle
41 browser:browser 41 browser:browser
42 icon:SkBitmap()]; 42 icon:SkBitmap()];
43 } 43 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698