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" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 void AutofillDriverIOS::SendFormDataToRenderer( | 63 void AutofillDriverIOS::SendFormDataToRenderer( |
64 int query_id, | 64 int query_id, |
65 RendererFormDataAction action, | 65 RendererFormDataAction action, |
66 const FormData& data) { | 66 const FormData& data) { |
67 [bridge_ onFormDataFilled:query_id result:data]; | 67 [bridge_ onFormDataFilled:query_id result:data]; |
68 } | 68 } |
69 | 69 |
70 void AutofillDriverIOS::PingRenderer() { | 70 void AutofillDriverIOS::PingRenderer() { |
71 } | 71 } |
72 | 72 |
73 void AutofillDriverIOS::DetectAccountCreationForms( | 73 void AutofillDriverIOS::PropagateAutofillPredictions( |
74 const std::vector<autofill::FormStructure*>& forms) { | 74 const std::vector<autofill::FormStructure*>& forms) { |
75 autofill_manager_.client()->DetectAccountCreationForms(nullptr, forms); | 75 autofill_manager_.client()->PropagateAutofillPredictions(nullptr, forms); |
76 }; | 76 }; |
77 | 77 |
78 void AutofillDriverIOS::SendAutofillTypePredictionsToRenderer( | 78 void AutofillDriverIOS::SendAutofillTypePredictionsToRenderer( |
79 const std::vector<FormStructure*>& forms) { | 79 const std::vector<FormStructure*>& forms) { |
80 [bridge_ sendAutofillTypePredictionsToRenderer:forms]; | 80 [bridge_ sendAutofillTypePredictionsToRenderer:forms]; |
81 } | 81 } |
82 | 82 |
83 void AutofillDriverIOS::RendererShouldAcceptDataListSuggestion( | 83 void AutofillDriverIOS::RendererShouldAcceptDataListSuggestion( |
84 const base::string16& value) { | 84 const base::string16& value) { |
85 } | 85 } |
86 | 86 |
87 void AutofillDriverIOS::RendererShouldClearFilledForm() { | 87 void AutofillDriverIOS::RendererShouldClearFilledForm() { |
88 } | 88 } |
89 | 89 |
90 void AutofillDriverIOS::RendererShouldClearPreviewedForm() { | 90 void AutofillDriverIOS::RendererShouldClearPreviewedForm() { |
91 } | 91 } |
92 | 92 |
93 void AutofillDriverIOS::RendererShouldFillFieldWithValue( | 93 void AutofillDriverIOS::RendererShouldFillFieldWithValue( |
94 const base::string16& value) { | 94 const base::string16& value) { |
95 } | 95 } |
96 | 96 |
97 void AutofillDriverIOS::RendererShouldPreviewFieldWithValue( | 97 void AutofillDriverIOS::RendererShouldPreviewFieldWithValue( |
98 const base::string16& value) { | 98 const base::string16& value) { |
99 } | 99 } |
100 | 100 |
101 void AutofillDriverIOS::PopupHidden() { | 101 void AutofillDriverIOS::PopupHidden() { |
102 } | 102 } |
103 | 103 |
104 } // namespace autofill | 104 } // namespace autofill |
OLD | NEW |