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

Side by Side Diff: chrome/browser/ui/autofill/mock_autofill_dialog_controller.cc

Issue 14821005: [RFP, Autofill] Switching dialog field identification to int. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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 #include "chrome/browser/ui/autofill/mock_autofill_dialog_controller.h" 5 #include "chrome/browser/ui/autofill/mock_autofill_dialog_controller.h"
6 6
7 namespace autofill { 7 namespace autofill {
8 MockAutofillDialogController::MockAutofillDialogController() {} 8 MockAutofillDialogController::MockAutofillDialogController() {}
9 9
10 MockAutofillDialogController::~MockAutofillDialogController() {} 10 MockAutofillDialogController::~MockAutofillDialogController() {}
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 return false; 132 return false;
133 } 133 }
134 134
135 std::vector<AutofillFieldType> MockAutofillDialogController::InputsAreValid( 135 std::vector<AutofillFieldType> MockAutofillDialogController::InputsAreValid(
136 const DetailOutputMap& inputs, 136 const DetailOutputMap& inputs,
137 ValidationType validation_type) const { 137 ValidationType validation_type) const {
138 return std::vector<AutofillFieldType>(); 138 return std::vector<AutofillFieldType>();
139 } 139 }
140 140
141 void MockAutofillDialogController::UserEditedOrActivatedInput( 141 void MockAutofillDialogController::UserEditedOrActivatedInput(
142 const DetailInput* input, 142 DialogSection section,
143 AutofillFieldType type,
143 gfx::NativeView parent_view, 144 gfx::NativeView parent_view,
144 const gfx::Rect& content_bounds, 145 const gfx::Rect& content_bounds,
145 const string16& field_contents, 146 const string16& field_contents,
146 bool was_edit) { 147 bool was_edit) {}
147 }
148 148
149 bool MockAutofillDialogController::HandleKeyPressEventInInput( 149 bool MockAutofillDialogController::HandleKeyPressEventInInput(
150 const content::NativeWebKeyboardEvent& event) { 150 const content::NativeWebKeyboardEvent& event) {
151 return false; 151 return false;
152 } 152 }
153 153
154 void MockAutofillDialogController::FocusMoved() { 154 void MockAutofillDialogController::FocusMoved() {
155 } 155 }
156 156
157 void MockAutofillDialogController::ViewClosed() { 157 void MockAutofillDialogController::ViewClosed() {
(...skipping 17 matching lines...) Expand all
175 175
176 void MockAutofillDialogController::OnCancel() {} 176 void MockAutofillDialogController::OnCancel() {}
177 177
178 void MockAutofillDialogController::OnAccept() {} 178 void MockAutofillDialogController::OnAccept() {}
179 179
180 content::WebContents* MockAutofillDialogController::web_contents() { 180 content::WebContents* MockAutofillDialogController::web_contents() {
181 return NULL; 181 return NULL;
182 } 182 }
183 183
184 } // namespace autofill 184 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698