| 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 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOFILL_DRIVER_IMPL_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOFILL_DRIVER_IMPL_H_ |
| 6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOFILL_DRIVER_IMPL_H_ | 6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOFILL_DRIVER_IMPL_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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 virtual void SetRendererActionOnFormDataReception( | 49 virtual void SetRendererActionOnFormDataReception( |
| 50 RendererFormDataAction action) OVERRIDE; | 50 RendererFormDataAction action) OVERRIDE; |
| 51 virtual void SendFormDataToRenderer(int query_id, | 51 virtual void SendFormDataToRenderer(int query_id, |
| 52 const FormData& data) OVERRIDE; | 52 const FormData& data) OVERRIDE; |
| 53 virtual void SendAutofillTypePredictionsToRenderer( | 53 virtual void SendAutofillTypePredictionsToRenderer( |
| 54 const std::vector<FormStructure*>& forms) OVERRIDE; | 54 const std::vector<FormStructure*>& forms) OVERRIDE; |
| 55 virtual void RendererShouldAcceptDataListSuggestion( | 55 virtual void RendererShouldAcceptDataListSuggestion( |
| 56 const base::string16& value) OVERRIDE; | 56 const base::string16& value) OVERRIDE; |
| 57 virtual void RendererShouldClearFilledForm() OVERRIDE; | 57 virtual void RendererShouldClearFilledForm() OVERRIDE; |
| 58 virtual void RendererShouldClearPreviewedForm() OVERRIDE; | 58 virtual void RendererShouldClearPreviewedForm() OVERRIDE; |
| 59 virtual void RendererShouldSetNodeText(const base::string16& value) OVERRIDE; |
| 59 | 60 |
| 60 AutofillExternalDelegate* autofill_external_delegate() { | 61 AutofillExternalDelegate* autofill_external_delegate() { |
| 61 return &autofill_external_delegate_; | 62 return &autofill_external_delegate_; |
| 62 } | 63 } |
| 63 | 64 |
| 64 AutofillManager* autofill_manager() { return autofill_manager_.get(); } | 65 AutofillManager* autofill_manager() { return autofill_manager_.get(); } |
| 65 | 66 |
| 66 protected: | 67 protected: |
| 67 AutofillDriverImpl( | 68 AutofillDriverImpl( |
| 68 content::WebContents* web_contents, | 69 content::WebContents* web_contents, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 90 scoped_ptr<AutofillManager> autofill_manager_; | 91 scoped_ptr<AutofillManager> autofill_manager_; |
| 91 | 92 |
| 92 // AutofillExternalDelegate instance that this object instantiates in the | 93 // AutofillExternalDelegate instance that this object instantiates in the |
| 93 // case where the Autofill native UI is enabled. | 94 // case where the Autofill native UI is enabled. |
| 94 AutofillExternalDelegate autofill_external_delegate_; | 95 AutofillExternalDelegate autofill_external_delegate_; |
| 95 }; | 96 }; |
| 96 | 97 |
| 97 } // namespace autofill | 98 } // namespace autofill |
| 98 | 99 |
| 99 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOFILL_DRIVER_IMPL_H_ | 100 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOFILL_DRIVER_IMPL_H_ |
| OLD | NEW |