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

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

Issue 100203003: [rAC, OSX] Allow controller to validate data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h" 5 #include "chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/mac/scoped_nsobject.h" 8 #include "base/mac/scoped_nsobject.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/strings/sys_string_conversions.h" 10 #include "base/strings/sys_string_conversions.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 void AutofillDialogCocoa::UpdateOverlay() { 77 void AutofillDialogCocoa::UpdateOverlay() {
78 // TODO(estade): only update the overlay. 78 // TODO(estade): only update the overlay.
79 UpdateButtonStrip(); 79 UpdateButtonStrip();
80 } 80 }
81 81
82 void AutofillDialogCocoa::UpdateDetailArea() { 82 void AutofillDialogCocoa::UpdateDetailArea() {
83 } 83 }
84 84
85 void AutofillDialogCocoa::UpdateForErrors() { 85 void AutofillDialogCocoa::UpdateForErrors() {
86 [sheet_delegate_ updateForErrors];
86 } 87 }
87 88
88 void AutofillDialogCocoa::UpdateNotificationArea() { 89 void AutofillDialogCocoa::UpdateNotificationArea() {
89 [sheet_delegate_ updateNotificationArea]; 90 [sheet_delegate_ updateNotificationArea];
90 } 91 }
91 92
92 void AutofillDialogCocoa::UpdateSection(DialogSection section) { 93 void AutofillDialogCocoa::UpdateSection(DialogSection section) {
93 [sheet_delegate_ updateSection:section]; 94 [sheet_delegate_ updateSection:section];
94 } 95 }
95 96
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 } 196 }
196 197
197 void AutofillDialogCocoa::OnConstrainedWindowClosed( 198 void AutofillDialogCocoa::OnConstrainedWindowClosed(
198 ConstrainedWindowMac* window) { 199 ConstrainedWindowMac* window) {
199 constrained_window_.reset(); 200 constrained_window_.reset();
200 // |this| belongs to |delegate_|, so no self-destruction here. 201 // |this| belongs to |delegate_|, so no self-destruction here.
201 delegate_->ViewClosed(); 202 delegate_->ViewClosed();
202 } 203 }
203 204
204 } // autofill 205 } // autofill
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698