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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/about_window_controller.h
diff --git a/chrome/browser/cocoa/about_window_controller.h b/chrome/browser/cocoa/about_window_controller.h
index 75c1ac677e2568c3a2da94557b9b38a1801c1d7e..99e175e39b8492c0aea8e3abccadc6c45c5bcc47 100644
--- a/chrome/browser/cocoa/about_window_controller.h
+++ b/chrome/browser/cocoa/about_window_controller.h
@@ -10,6 +10,11 @@
@class BackgroundTileView;
class Profile;
+// This simple subclass of |NSTextView| just doesn't show the (text) cursor
+// (|NSTextView| displays the cursor with full keyboard accessibility enabled).
+@interface AboutLegalTextView : NSTextView
+@end
+
// A window controller that handles the About box.
@interface AboutWindowController : NSWindowController {
@private
@@ -17,7 +22,7 @@ class Profile;
IBOutlet BackgroundTileView* backgroundView_;
IBOutlet NSImageView* logoView_;
IBOutlet NSView* legalBlock_;
- IBOutlet NSTextView* legalText_;
+ IBOutlet AboutLegalTextView* legalText_;
IBOutlet NSView* updateBlock_; // Holds everything related to updates
IBOutlet NSProgressIndicator* spinner_;
IBOutlet NSImageView* updateStatusIndicator_;
« 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