| OLD | NEW |
| 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 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSION_INSTALL_PROMPT_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSION_INSTALL_PROMPT_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_EXTENSION_INSTALL_PROMPT_H_ | 6 #define CHROME_BROWSER_UI_COCOA_EXTENSION_INSTALL_PROMPT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 NSWindow* parentWindow_; // weak | 33 NSWindow* parentWindow_; // weak |
| 34 Profile* profile_; // weak | 34 Profile* profile_; // weak |
| 35 ExtensionInstallUI::Delegate* delegate_; // weak | 35 ExtensionInstallUI::Delegate* delegate_; // weak |
| 36 | 36 |
| 37 scoped_nsobject<NSString> title_; | 37 scoped_nsobject<NSString> title_; |
| 38 scoped_nsobject<NSString> warnings_; | 38 scoped_nsobject<NSString> warnings_; |
| 39 SkBitmap icon_; | 39 SkBitmap icon_; |
| 40 } | 40 } |
| 41 | 41 |
| 42 @property (nonatomic, readonly) NSImageView* iconView; | 42 @property(nonatomic, readonly) NSImageView* iconView; |
| 43 @property (nonatomic, readonly) NSTextField* titleField; | 43 @property(nonatomic, readonly) NSTextField* titleField; |
| 44 @property (nonatomic, readonly) NSTextField* subtitleField; | 44 @property(nonatomic, readonly) NSTextField* subtitleField; |
| 45 @property (nonatomic, readonly) NSTextField* warningsField; | 45 @property(nonatomic, readonly) NSTextField* warningsField; |
| 46 @property (nonatomic, readonly) NSBox* warningsBox; | 46 @property(nonatomic, readonly) NSBox* warningsBox; |
| 47 @property (nonatomic, readonly) NSButton* cancelButton; | 47 @property(nonatomic, readonly) NSButton* cancelButton; |
| 48 @property (nonatomic, readonly) NSButton* okButton; | 48 @property(nonatomic, readonly) NSButton* okButton; |
| 49 | 49 |
| 50 - (id)initWithParentWindow:(NSWindow*)window | 50 - (id)initWithParentWindow:(NSWindow*)window |
| 51 profile:(Profile*)profile | 51 profile:(Profile*)profile |
| 52 extension:(const Extension*)extension | 52 extension:(const Extension*)extension |
| 53 delegate:(ExtensionInstallUI::Delegate*)delegate | 53 delegate:(ExtensionInstallUI::Delegate*)delegate |
| 54 icon:(SkBitmap*)bitmap | 54 icon:(SkBitmap*)bitmap |
| 55 warnings:(const std::vector<string16>&)warnings; | 55 warnings:(const std::vector<string16>&)warnings; |
| 56 - (void)runAsModalSheet; | 56 - (void)runAsModalSheet; |
| 57 - (IBAction)cancel:(id)sender; | 57 - (IBAction)cancel:(id)sender; |
| 58 - (IBAction)ok:(id)sender; | 58 - (IBAction)ok:(id)sender; |
| 59 | 59 |
| 60 @end | 60 @end |
| 61 | 61 |
| 62 #endif /* CHROME_BROWSER_UI_COCOA_EXTENSION_INSTALL_PROMPT_H_ */ | 62 #endif /* CHROME_BROWSER_UI_COCOA_EXTENSION_INSTALL_PROMPT_H_ */ |
| OLD | NEW |