| OLD | NEW |
| 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_VIEW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_VIEW_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_VIEW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_VIEW_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #import <Cocoa/Cocoa.h> | 10 #import <Cocoa/Cocoa.h> |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 IBOutlet NSImageView* iconView_; | 27 IBOutlet NSImageView* iconView_; |
| 28 IBOutlet NSTextField* titleField_; | 28 IBOutlet NSTextField* titleField_; |
| 29 IBOutlet NSTextField* itemsField_; | 29 IBOutlet NSTextField* itemsField_; |
| 30 IBOutlet NSButton* cancelButton_; | 30 IBOutlet NSButton* cancelButton_; |
| 31 IBOutlet NSButton* okButton_; | 31 IBOutlet NSButton* okButton_; |
| 32 | 32 |
| 33 // Present only when the dialog has permission warnings or OAuth issues to | 33 // Present only when the dialog has permission warnings or OAuth issues to |
| 34 // display. | 34 // display. |
| 35 IBOutlet NSOutlineView* outlineView_; | 35 IBOutlet NSOutlineView* outlineView_; |
| 36 | 36 |
| 37 // Present only in the inline install dialog. | 37 // Present only in the install dialogs with webstore data (inline and |
| 38 // external). |
| 38 IBOutlet NSBox* warningsSeparator_; // Only when there are permissions. | 39 IBOutlet NSBox* warningsSeparator_; // Only when there are permissions. |
| 39 IBOutlet NSView* ratingStars_; | 40 IBOutlet NSView* ratingStars_; |
| 40 IBOutlet NSTextField* ratingCountField_; | 41 IBOutlet NSTextField* ratingCountField_; |
| 41 IBOutlet NSTextField* userCountField_; | 42 IBOutlet NSTextField* userCountField_; |
| 42 IBOutlet NSButton* storeLinkButton_; | 43 IBOutlet NSButton* storeLinkButton_; |
| 43 | 44 |
| 44 content::PageNavigator* navigator_; // weak | 45 content::PageNavigator* navigator_; // weak |
| 45 ExtensionInstallPrompt::Delegate* delegate_; // weak | 46 ExtensionInstallPrompt::Delegate* delegate_; // weak |
| 46 scoped_ptr<ExtensionInstallPrompt::Prompt> prompt_; | 47 scoped_ptr<ExtensionInstallPrompt::Prompt> prompt_; |
| 47 | 48 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 65 - (id)initWithNavigator:(content::PageNavigator*)navigator | 66 - (id)initWithNavigator:(content::PageNavigator*)navigator |
| 66 delegate:(ExtensionInstallPrompt::Delegate*)delegate | 67 delegate:(ExtensionInstallPrompt::Delegate*)delegate |
| 67 prompt:(const ExtensionInstallPrompt::Prompt&)prompt; | 68 prompt:(const ExtensionInstallPrompt::Prompt&)prompt; |
| 68 - (IBAction)storeLinkClicked:(id)sender; // Callback for "View details" link. | 69 - (IBAction)storeLinkClicked:(id)sender; // Callback for "View details" link. |
| 69 - (IBAction)cancel:(id)sender; | 70 - (IBAction)cancel:(id)sender; |
| 70 - (IBAction)ok:(id)sender; | 71 - (IBAction)ok:(id)sender; |
| 71 | 72 |
| 72 @end | 73 @end |
| 73 | 74 |
| 74 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_VIEW_CONTROLLER_
H_ | 75 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_VIEW_CONTROLLER_
H_ |
| OLD | NEW |