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

Side by Side Diff: chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.h

Issue 10453101: Convert most of the rest of chrome to ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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) 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 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_DIALOG_CONTROLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_DIALOG_CONTROLER_H_
6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_DIALOG_CONTROLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_DIALOG_CONTROLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #import <Cocoa/Cocoa.h> 11 #import <Cocoa/Cocoa.h>
12 12
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/string16.h" 14 #include "base/string16.h"
15 #include "chrome/browser/extensions/extension_install_ui.h" 15 #include "chrome/browser/extensions/extension_install_ui.h"
16 #include "third_party/skia/include/core/SkBitmap.h" 16 #include "ui/gfx/image/image_skia.h"
17 17
18 class Profile; 18 class Profile;
19 19
20 // Displays the extension or bundle install prompt, and notifies the 20 // Displays the extension or bundle install prompt, and notifies the
21 // ExtensionInstallUI::Delegate of success or failure. 21 // ExtensionInstallUI::Delegate of success or failure.
22 @interface ExtensionInstallDialogController : NSWindowController { 22 @interface ExtensionInstallDialogController : NSWindowController {
23 @private 23 @private
24 IBOutlet NSImageView* iconView_; 24 IBOutlet NSImageView* iconView_;
25 IBOutlet NSTextField* titleField_; 25 IBOutlet NSTextField* titleField_;
26 IBOutlet NSTextField* itemsField_; 26 IBOutlet NSTextField* itemsField_;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 delegate:(ExtensionInstallUI::Delegate*)delegate 61 delegate:(ExtensionInstallUI::Delegate*)delegate
62 prompt:(const ExtensionInstallUI::Prompt&)prompt; 62 prompt:(const ExtensionInstallUI::Prompt&)prompt;
63 - (void)runAsModalSheet; 63 - (void)runAsModalSheet;
64 - (IBAction)storeLinkClicked:(id)sender; // Callback for "View details" link. 64 - (IBAction)storeLinkClicked:(id)sender; // Callback for "View details" link.
65 - (IBAction)cancel:(id)sender; 65 - (IBAction)cancel:(id)sender;
66 - (IBAction)ok:(id)sender; 66 - (IBAction)ok:(id)sender;
67 67
68 @end 68 @end
69 69
70 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_DIALOG_CONTROLLE R_H_ 70 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_DIALOG_CONTROLLE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698