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

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

Issue 414028: Mac: remove cursor turd from About dialog. (Closed)
Patch Set: Merged ToT. 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
« no previous file with comments | « chrome/app/nibs/About.xib ('k') | chrome/browser/cocoa/about_window_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // This simple subclass of |NSTextView| just doesn't show the (text) cursor
14 // (|NSTextView| displays the cursor with full keyboard accessibility enabled).
15 @interface AboutLegalTextView : NSTextView
16 @end
17
13 // A window controller that handles the About box. 18 // A window controller that handles the About box.
14 @interface AboutWindowController : NSWindowController { 19 @interface AboutWindowController : NSWindowController {
15 @private 20 @private
16 IBOutlet NSTextField* version_; 21 IBOutlet NSTextField* version_;
17 IBOutlet BackgroundTileView* backgroundView_; 22 IBOutlet BackgroundTileView* backgroundView_;
18 IBOutlet NSImageView* logoView_; 23 IBOutlet NSImageView* logoView_;
19 IBOutlet NSView* legalBlock_; 24 IBOutlet NSView* legalBlock_;
20 IBOutlet NSTextView* legalText_; 25 IBOutlet AboutLegalTextView* legalText_;
21 IBOutlet NSView* updateBlock_; // Holds everything related to updates 26 IBOutlet NSView* updateBlock_; // Holds everything related to updates
22 IBOutlet NSProgressIndicator* spinner_; 27 IBOutlet NSProgressIndicator* spinner_;
23 IBOutlet NSImageView* updateStatusIndicator_; 28 IBOutlet NSImageView* updateStatusIndicator_;
24 IBOutlet NSTextField* updateText_; 29 IBOutlet NSTextField* updateText_;
25 IBOutlet NSButton* updateNowButton_; 30 IBOutlet NSButton* updateNowButton_;
26 31
27 BOOL updateTriggered_; // Has an update ever been triggered? 32 BOOL updateTriggered_; // Has an update ever been triggered?
28 Profile* profile_; // Weak, probably the default profile. 33 Profile* profile_; // Weak, probably the default profile.
29 } 34 }
30 35
(...skipping 11 matching lines...) Expand all
42 - (NSTextView*)legalText; 47 - (NSTextView*)legalText;
43 - (NSButton*)updateButton; 48 - (NSButton*)updateButton;
44 - (NSTextField*)updateText; 49 - (NSTextField*)updateText;
45 50
46 // Returns an NSAttributedString that contains locale-specific legal text. 51 // Returns an NSAttributedString that contains locale-specific legal text.
47 + (NSAttributedString*)legalTextBlock; 52 + (NSAttributedString*)legalTextBlock;
48 53
49 @end // @interface AboutWindowController(JustForTesting) 54 @end // @interface AboutWindowController(JustForTesting)
50 55
51 #endif // CHROME_BROWSER_COCOA_ABOUT_WINDOW_CONTROLLER_H_ 56 #endif // CHROME_BROWSER_COCOA_ABOUT_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/app/nibs/About.xib ('k') | chrome/browser/cocoa/about_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698