| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "components/autofill/ios/browser/autofill_driver_ios.h" | 5 #include "components/autofill/ios/browser/autofill_driver_ios.h" |
| 6 | 6 |
| 7 #include "components/autofill/ios/browser/autofill_driver_ios_bridge.h" | 7 #include "components/autofill/ios/browser/autofill_driver_ios_bridge.h" |
| 8 #include "ios/web/public/browser_state.h" | 8 #include "ios/web/public/browser_state.h" |
| 9 #include "ios/web/public/web_state/web_state.h" | 9 #include "ios/web/public/web_state/web_state.h" |
| 10 #include "ios/web/public/web_thread.h" | 10 #include "ios/web/public/web_thread.h" |
| 11 #include "ui/gfx/geometry/rect_f.h" |
| 11 | 12 |
| 12 DEFINE_WEB_STATE_USER_DATA_KEY(autofill::AutofillDriverIOS); | 13 DEFINE_WEB_STATE_USER_DATA_KEY(autofill::AutofillDriverIOS); |
| 13 | 14 |
| 14 namespace autofill { | 15 namespace autofill { |
| 15 | 16 |
| 16 // static | 17 // static |
| 17 void AutofillDriverIOS::CreateForWebStateAndDelegate( | 18 void AutofillDriverIOS::CreateForWebStateAndDelegate( |
| 18 web::WebState* web_state, | 19 web::WebState* web_state, |
| 19 AutofillClient* client, | 20 AutofillClient* client, |
| 20 id<AutofillDriverIOSBridge> bridge, | 21 id<AutofillDriverIOSBridge> bridge, |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 const base::string16& value) { | 92 const base::string16& value) { |
| 92 } | 93 } |
| 93 | 94 |
| 94 void AutofillDriverIOS::RendererShouldPreviewFieldWithValue( | 95 void AutofillDriverIOS::RendererShouldPreviewFieldWithValue( |
| 95 const base::string16& value) { | 96 const base::string16& value) { |
| 96 } | 97 } |
| 97 | 98 |
| 98 void AutofillDriverIOS::PopupHidden() { | 99 void AutofillDriverIOS::PopupHidden() { |
| 99 } | 100 } |
| 100 | 101 |
| 102 gfx::RectF AutofillDriverIOS::TransformBoundingBox( |
| 103 const gfx::RectF& bounding_box) { |
| 104 return bounding_box; |
| 105 } |
| 106 |
| 101 } // namespace autofill | 107 } // namespace autofill |
| OLD | NEW |