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

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

Issue 6269009: Move loose extension files in c/b/ui/cocoa/ into the extensions/ subdir... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 months 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) 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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #import "extension_installed_bubble_bridge.h" 7 #import "chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.h"
8 8
9 #import "chrome/browser/ui/cocoa/extension_installed_bubble_controller.h" 9 #import "chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controlle r.h"
10 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
11 #include "chrome/common/extensions/extension.h" 11 #include "chrome/common/extensions/extension.h"
12 12
13 void ExtensionInstalledBubbleCocoa::ShowExtensionInstalledBubble( 13 void ExtensionInstalledBubbleCocoa::ShowExtensionInstalledBubble(
14 gfx::NativeWindow window, 14 gfx::NativeWindow window,
15 const Extension* extension, 15 const Extension* extension,
16 Browser* browser, 16 Browser* browser,
17 SkBitmap icon) { 17 SkBitmap icon) {
18 // The controller is deallocated when the window is closed, so no need to 18 // The controller is deallocated when the window is closed, so no need to
19 // worry about it here. 19 // worry about it here.
20 [[ExtensionInstalledBubbleController alloc] 20 [[ExtensionInstalledBubbleController alloc]
21 initWithParentWindow:window 21 initWithParentWindow:window
22 extension:extension 22 extension:extension
23 browser:browser 23 browser:browser
24 icon:icon]; 24 icon:icon];
25 } 25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698