OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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/views/payments/cvc_unmask_view_controller.h" | 5 #include "chrome/browser/ui/views/payments/cvc_unmask_view_controller.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "chrome/browser/autofill/risk_util.h" | 10 #include "chrome/browser/autofill/risk_util.h" |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 } | 204 } |
205 | 205 |
206 dialog()->ShowProcessingSpinner(); | 206 dialog()->ShowProcessingSpinner(); |
207 } | 207 } |
208 | 208 |
209 bool CvcUnmaskViewController::GetSheetId(DialogViewID* sheet_id) { | 209 bool CvcUnmaskViewController::GetSheetId(DialogViewID* sheet_id) { |
210 *sheet_id = DialogViewID::CVC_UNMASK_SHEET; | 210 *sheet_id = DialogViewID::CVC_UNMASK_SHEET; |
211 return true; | 211 return true; |
212 } | 212 } |
213 | 213 |
| 214 views::View* CvcUnmaskViewController::GetFirstFocusedView() { |
| 215 return cvc_field_; |
| 216 } |
| 217 |
214 } // namespace payments | 218 } // namespace payments |
OLD | NEW |