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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm

Issue 62873006: [rAC, OSX] fix a few small style nits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to HEAD Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
index a89fa4fda242717e84a910b4153b34d312a40f69..c7f36c807e5a2682756d9b8021dbc9f8117ba4df 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
@@ -197,14 +197,14 @@ string16 AutofillDialogCocoa::GetTextContentsOfInput(const DetailInput& input) {
void AutofillDialogCocoa::SetTextContentsOfInput(const DetailInput& input,
const string16& contents) {
[sheet_delegate_ setTextContents:base::SysUTF16ToNSString(contents)
- forInput:input];
+ forInput:input];
}
void AutofillDialogCocoa::SetTextContentsOfSuggestionInput(
DialogSection section,
const base::string16& text) {
[sheet_delegate_ setTextContents:base::SysUTF16ToNSString(text)
- ofSuggestionForSection:section];
+ ofSuggestionForSection:section];
}
void AutofillDialogCocoa::ActivateInput(const DetailInput& input) {
@@ -341,7 +341,7 @@ void AutofillDialogCocoa::OnConstrainedWindowClosed(
accountChooser_.reset([[AutofillAccountChooser alloc]
initWithFrame:NSZeroRect
- delegate:autofillDialog->delegate()]);
+ delegate:autofillDialog->delegate()]);
loadingShieldTextField_.reset(
[[NSTextField alloc] initWithFrame:NSZeroRect]);
@@ -468,8 +468,7 @@ void AutofillDialogCocoa::OnConstrainedWindowClosed(
kAccountChooserHeight, NSMinYEdge);
NSDivideRect(mainRect, &dummyRect, &mainRect,
autofill::kDetailVerticalPadding, NSMinYEdge);
- headerRect = NSInsetRect(
- headerRect, chrome_style::kHorizontalPadding, 0);
+ headerRect = NSInsetRect(headerRect, chrome_style::kHorizontalPadding, 0);
NSDivideRect(headerRect, &titleRect, &headerRect,
NSWidth([titleTextField_ frame]), NSMinXEdge);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698