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

Unified Diff: chrome/browser/ui/cocoa/hyperlink_text_view.h

Issue 468913004: Fix naming to conform to Cocoa conventions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months 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
Index: chrome/browser/ui/cocoa/hyperlink_text_view.h
diff --git a/chrome/browser/ui/cocoa/hyperlink_text_view.h b/chrome/browser/ui/cocoa/hyperlink_text_view.h
index 854af9ba8884a1c1a3452ca8bffd4f5fe8f31dd6..f48215f770ecd48f689a7b67b991aebfca2e8452 100644
--- a/chrome/browser/ui/cocoa/hyperlink_text_view.h
+++ b/chrome/browser/ui/cocoa/hyperlink_text_view.h
@@ -11,7 +11,7 @@
// class NSTextView displays both with full keyboard accessibility enabled.
@interface HyperlinkTextView : NSTextView {
@private
- BOOL acceptsFirstResponder_;
+ BOOL refusesFirstResponder_;
BOOL drawsBackgroundUsingSuperview_;
}
@@ -39,7 +39,7 @@
withName:(id)name
linkColor:(NSColor*)linkColor;
-// This is YES (by default) if the view accepts first responder status.
-- (void)setAcceptsFirstResponder:(BOOL)acceptsFirstResponder;
+// This is NO (by default) if the view rejects first responder status.
+- (void)setRefusesFirstResponder:(BOOL)acceptsFirstResponder;
noms (inactive) 2014/08/15 03:44:35 nit: update the parameter name too
groby-ooo-7-16 2014/08/15 04:39:13 Done, and thanks for catching it!
@end
« no previous file with comments | « chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller.mm ('k') | chrome/browser/ui/cocoa/hyperlink_text_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698