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

Side by Side Diff: chrome/browser/ui/cocoa/autofill/autofill_sign_in_container.mm

Issue 1133713009: Subject .mm files to the header sorting presubmit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase - of course... it would be one of my patches I conflict with :| Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #import "chrome/browser/ui/cocoa/autofill/autofill_sign_in_container.h" 5 #import "chrome/browser/ui/cocoa/autofill/autofill_sign_in_container.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #include "base/mac/foundation_util.h" 9 #include "base/mac/foundation_util.h"
10 #include "base/strings/sys_string_conversions.h" 10 #include "base/strings/sys_string_conversions.h"
11 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.h" 12 #include "chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.h"
13 #include "chrome/browser/ui/chrome_style.h"
14 #include "chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h"
13 #import "chrome/browser/ui/cocoa/browser_window_utils.h" 15 #import "chrome/browser/ui/cocoa/browser_window_utils.h"
14 #include "chrome/browser/ui/cocoa/chrome_event_processing_window.h" 16 #include "chrome/browser/ui/cocoa/chrome_event_processing_window.h"
15 #include "chrome/browser/ui/chrome_style.h"
16 #include "chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h"
17 #include "components/autofill/content/browser/wallet/wallet_service_url.h" 17 #include "components/autofill/content/browser/wallet/wallet_service_url.h"
18 #include "content/public/browser/native_web_keyboard_event.h" 18 #include "content/public/browser/native_web_keyboard_event.h"
19 #include "content/public/browser/web_contents.h" 19 #include "content/public/browser/web_contents.h"
20 20
21 namespace { 21 namespace {
22 22
23 // Platform version of the sign-in delegate, allows handling of hotkeys. 23 // Platform version of the sign-in delegate, allows handling of hotkeys.
24 class CocoaSignInDelegate : public autofill::AutofillDialogSignInDelegate { 24 class CocoaSignInDelegate : public autofill::AutofillDialogSignInDelegate {
25 public: 25 public:
26 CocoaSignInDelegate(autofill::AutofillDialogView* dialog_view, 26 CocoaSignInDelegate(autofill::AutofillDialogView* dialog_view,
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 preferredSize_ = size; 135 preferredSize_ = size;
136 preferredSize_.height += chrome_style::kClientBottomPadding; 136 preferredSize_.height += chrome_style::kClientBottomPadding;
137 137
138 // Always request re-layout if preferredSize changes. 138 // Always request re-layout if preferredSize changes.
139 id delegate = [[[self view] window] windowController]; 139 id delegate = [[[self view] window] windowController];
140 if ([delegate respondsToSelector:@selector(requestRelayout)]) 140 if ([delegate respondsToSelector:@selector(requestRelayout)])
141 [delegate performSelector:@selector(requestRelayout)]; 141 [delegate performSelector:@selector(requestRelayout)];
142 } 142 }
143 143
144 @end 144 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/autofill/autofill_header.mm ('k') | chrome/browser/ui/cocoa/autofill/autofill_textfield_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698