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

Side by Side Diff: chrome/browser/cocoa/about_window_controller.h

Issue 402066: Moved a whole pile of unittests over to CocoaTest. (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/about_ipc_controller_unittest.mm ('k') | chrome/browser/cocoa/about_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698