| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |