| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ |
| 6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ | 6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 void PingRenderer() override; | 52 void PingRenderer() override; |
| 53 void PropagateAutofillPredictions( | 53 void PropagateAutofillPredictions( |
| 54 const std::vector<autofill::FormStructure*>& forms) override; | 54 const std::vector<autofill::FormStructure*>& forms) override; |
| 55 void SendAutofillTypePredictionsToRenderer( | 55 void SendAutofillTypePredictionsToRenderer( |
| 56 const std::vector<FormStructure*>& forms) override; | 56 const std::vector<FormStructure*>& forms) override; |
| 57 void RendererShouldAcceptDataListSuggestion( | 57 void RendererShouldAcceptDataListSuggestion( |
| 58 const base::string16& value) override; | 58 const base::string16& value) override; |
| 59 void RendererShouldClearFilledForm() override; | 59 void RendererShouldClearFilledForm() override; |
| 60 void RendererShouldClearPreviewedForm() override; | 60 void RendererShouldClearPreviewedForm() override; |
| 61 void RendererShouldFillFieldWithValue(const base::string16& value) override; | 61 void RendererShouldFillFieldWithValue(const base::string16& value) override; |
| 62 void RendererShouldPreviewFieldWithValue( | 62 void RendererShouldPreviewFieldWithValue(const base::string16& value, |
| 63 const base::string16& value) override; | 63 size_t match_start) override; |
| 64 void PopupHidden() override; | 64 void PopupHidden() override; |
| 65 | 65 |
| 66 // Handles a message that came from the associated render frame. | 66 // Handles a message that came from the associated render frame. |
| 67 bool HandleMessage(const IPC::Message& message); | 67 bool HandleMessage(const IPC::Message& message); |
| 68 | 68 |
| 69 // Called when the frame has navigated. | 69 // Called when the frame has navigated. |
| 70 void DidNavigateFrame(const content::LoadCommittedDetails& details, | 70 void DidNavigateFrame(const content::LoadCommittedDetails& details, |
| 71 const content::FrameNavigateParams& params); | 71 const content::FrameNavigateParams& params); |
| 72 | 72 |
| 73 AutofillExternalDelegate* autofill_external_delegate() { | 73 AutofillExternalDelegate* autofill_external_delegate() { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 98 // case where the Autofill native UI is enabled. | 98 // case where the Autofill native UI is enabled. |
| 99 AutofillExternalDelegate autofill_external_delegate_; | 99 AutofillExternalDelegate autofill_external_delegate_; |
| 100 | 100 |
| 101 // Driver for the interactive autocomplete dialog. | 101 // Driver for the interactive autocomplete dialog. |
| 102 RequestAutocompleteManager request_autocomplete_manager_; | 102 RequestAutocompleteManager request_autocomplete_manager_; |
| 103 }; | 103 }; |
| 104 | 104 |
| 105 } // namespace autofill | 105 } // namespace autofill |
| 106 | 106 |
| 107 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ | 107 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ |
| OLD | NEW |