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