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

Unified Diff: chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm

Issue 2221613002: [Mac] Fix hacker_case problems in Omnibox source. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/omnibox/omnibox_popup_cell.mm
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm
index 5098dc026bec635c6cc00cc4021dcb1cc58a2d66..4d7bbcc7170325491929fd05950320949c5e943e 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm
@@ -420,7 +420,7 @@ NSAttributedString* CreateClassifiedAttributedString(
@synthesize isContentsRTL = isContentsRTL_;
@synthesize isAnswer = isAnswer_;
@synthesize matchType = matchType_;
-@synthesize max_lines = max_lines_;
+@synthesize maxLines = maxLines_;
- (instancetype)initWithMatch:(const AutocompleteMatch&)match
contentsOffset:(CGFloat)contentsOffset
@@ -453,7 +453,7 @@ NSAttributedString* CreateClassifiedAttributedString(
[CreateAnswerLine(match.answer->first_line(), isDarkTheme) retain];
description_ =
[CreateAnswerLine(match.answer->second_line(), isDarkTheme) retain];
- max_lines_ = match.answer->second_line().num_text_lines();
+ maxLines_ = match.answer->second_line().num_text_lines();
} else {
contents_ = [CreateClassifiedAttributedString(
match.contents, ContentTextColor(isDarkTheme), match.contents_class,
@@ -463,7 +463,7 @@ NSAttributedString* CreateClassifiedAttributedString(
match.description, DimTextColor(isDarkTheme),
match.description_class, isDarkTheme) retain];
}
- max_lines_ = 1;
+ maxLines_ = 1;
}
}
return self;
« no previous file with comments | « chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.h ('k') | chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698