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

Unified Diff: chrome/browser/cocoa/about_window_controller.h

Issue 437053: In-application Keystone ticket promotion (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_main_mac.mm ('k') | chrome/browser/cocoa/about_window_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/about_window_controller.h
===================================================================
--- chrome/browser/cocoa/about_window_controller.h (revision 33240)
+++ chrome/browser/cocoa/about_window_controller.h (working copy)
@@ -23,14 +23,25 @@
IBOutlet NSImageView* logoView_;
IBOutlet NSView* legalBlock_;
IBOutlet AboutLegalTextView* legalText_;
- IBOutlet NSView* updateBlock_; // Holds everything related to updates
+
+ // updateBlock_ holds the update image or throbber, update text, and update
+ // button.
+ IBOutlet NSView* updateBlock_;
+
+ // promotionBlock_ holds the Keystone ticket promotion text and button.
+ IBOutlet NSView* promotionBlock_;
+
IBOutlet NSProgressIndicator* spinner_;
IBOutlet NSImageView* updateStatusIndicator_;
IBOutlet NSTextField* updateText_;
IBOutlet NSButton* updateNowButton_;
+ IBOutlet NSButton* promoteButton_;
- BOOL updateTriggered_; // Has an update ever been triggered?
Profile* profile_; // Weak, probably the default profile.
+
+ // The window frame height. During an animation, this will contain the
+ // height being animated to.
+ CGFloat windowHeight_;
}
// Initialize the controller with the given profile, but does not show it.
@@ -40,6 +51,10 @@
// Trigger an update right now, as initiated by a button.
- (IBAction)updateNow:(id)sender;
+// Install a system Keystone if necessary and promote the ticket to a system
+// ticket.
+- (IBAction)promoteUpdater:(id)sender;
+
@end // @interface AboutWindowController
@interface AboutWindowController(JustForTesting)
« no previous file with comments | « chrome/browser/browser_main_mac.mm ('k') | chrome/browser/cocoa/about_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698