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

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

Issue 290733006: remove oauth from extension install dialog (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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_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 12 matching lines...) Expand all
23 // ExtensionInstallPrompt::Delegate of success or failure 23 // ExtensionInstallPrompt::Delegate of success or failure
24 @interface ExtensionInstallViewController : NSViewController 24 @interface ExtensionInstallViewController : NSViewController
25 <NSOutlineViewDataSource, 25 <NSOutlineViewDataSource,
26 NSOutlineViewDelegate> { 26 NSOutlineViewDelegate> {
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 issues to display.
34 // display.
35 IBOutlet NSOutlineView* outlineView_; 34 IBOutlet NSOutlineView* outlineView_;
36 35
37 // Present only in the install dialogs with webstore data (inline and 36 // Present only in the install dialogs with webstore data (inline and
38 // external). 37 // external).
39 IBOutlet NSBox* warningsSeparator_; // Only when there are permissions. 38 IBOutlet NSBox* warningsSeparator_; // Only when there are permissions.
40 IBOutlet NSView* ratingStars_; 39 IBOutlet NSView* ratingStars_;
41 IBOutlet NSTextField* ratingCountField_; 40 IBOutlet NSTextField* ratingCountField_;
42 IBOutlet NSTextField* userCountField_; 41 IBOutlet NSTextField* userCountField_;
43 IBOutlet NSButton* storeLinkButton_; 42 IBOutlet NSButton* storeLinkButton_;
44 43
(...skipping 21 matching lines...) Expand all
66 - (id)initWithNavigator:(content::PageNavigator*)navigator 65 - (id)initWithNavigator:(content::PageNavigator*)navigator
67 delegate:(ExtensionInstallPrompt::Delegate*)delegate 66 delegate:(ExtensionInstallPrompt::Delegate*)delegate
68 prompt:(const ExtensionInstallPrompt::Prompt&)prompt; 67 prompt:(const ExtensionInstallPrompt::Prompt&)prompt;
69 - (IBAction)storeLinkClicked:(id)sender; // Callback for "View details" link. 68 - (IBAction)storeLinkClicked:(id)sender; // Callback for "View details" link.
70 - (IBAction)cancel:(id)sender; 69 - (IBAction)cancel:(id)sender;
71 - (IBAction)ok:(id)sender; 70 - (IBAction)ok:(id)sender;
72 71
73 @end 72 @end
74 73
75 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_VIEW_CONTROLLER_ H_ 74 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_INSTALL_VIEW_CONTROLLER_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698