| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_COCOA_ABOUT_WINDOW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_COCOA_ABOUT_WINDOW_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_COCOA_ABOUT_WINDOW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_COCOA_ABOUT_WINDOW_CONTROLLER_H_ |
| 7 | 7 |
| 8 #import <AppKit/AppKit.h> | 8 #import <AppKit/AppKit.h> |
| 9 | 9 |
| 10 @class BackgroundTileView; | 10 @class BackgroundTileView; |
| 11 class Profile; | 11 class Profile; |
| 12 | 12 |
| 13 // kUserClosedAboutNotification is the name of the notification posted when | |
| 14 // the About window is closed. | |
| 15 extern const NSString* const kUserClosedAboutNotification; | |
| 16 | |
| 17 // A window controller that handles the About box. | 13 // A window controller that handles the About box. |
| 18 @interface AboutWindowController : NSWindowController { | 14 @interface AboutWindowController : NSWindowController { |
| 19 @private | 15 @private |
| 20 IBOutlet NSTextField* version_; | 16 IBOutlet NSTextField* version_; |
| 21 IBOutlet BackgroundTileView* backgroundView_; | 17 IBOutlet BackgroundTileView* backgroundView_; |
| 22 IBOutlet NSImageView* logoView_; | 18 IBOutlet NSImageView* logoView_; |
| 23 IBOutlet NSView* legalBlock_; | 19 IBOutlet NSView* legalBlock_; |
| 24 IBOutlet NSTextView* legalText_; | 20 IBOutlet NSTextView* legalText_; |
| 25 IBOutlet NSView* updateBlock_; // Holds everything related to updates | 21 IBOutlet NSView* updateBlock_; // Holds everything related to updates |
| 26 IBOutlet NSProgressIndicator* spinner_; | 22 IBOutlet NSProgressIndicator* spinner_; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 46 - (NSTextView*)legalText; | 42 - (NSTextView*)legalText; |
| 47 - (NSButton*)updateButton; | 43 - (NSButton*)updateButton; |
| 48 - (NSTextField*)updateText; | 44 - (NSTextField*)updateText; |
| 49 | 45 |
| 50 // Returns an NSAttributedString that contains locale-specific legal text. | 46 // Returns an NSAttributedString that contains locale-specific legal text. |
| 51 + (NSAttributedString*)legalTextBlock; | 47 + (NSAttributedString*)legalTextBlock; |
| 52 | 48 |
| 53 @end // @interface AboutWindowController(JustForTesting) | 49 @end // @interface AboutWindowController(JustForTesting) |
| 54 | 50 |
| 55 #endif // CHROME_BROWSER_COCOA_ABOUT_WINDOW_CONTROLLER_H_ | 51 #endif // CHROME_BROWSER_COCOA_ABOUT_WINDOW_CONTROLLER_H_ |
| OLD | NEW |