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 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 SendFormDataToRenderer(int query_id, | 50 virtual void SendFormDataToRenderer(int query_id, |
51 RendererFormDataAction action, | 51 RendererFormDataAction action, |
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 RendererShouldAcceptPasswordAutofillSuggestion( | 57 virtual void RendererShouldAcceptPasswordAutofillSuggestion( |
58 const base::string16& username) OVERRIDE; | 58 const base::string16& username) OVERRIDE; |
Ilya Sherman
2014/03/21 22:35:19
Let's rename this to "RendererShouldFillPassword",
ziran.sun
2014/03/25 18:25:26
Done.
| |
59 virtual void RendererShouldPreviewPassword( | |
60 const base::string16& username) OVERRIDE; | |
59 virtual void RendererShouldClearFilledForm() OVERRIDE; | 61 virtual void RendererShouldClearFilledForm() OVERRIDE; |
60 virtual void RendererShouldClearPreviewedForm() OVERRIDE; | 62 virtual void RendererShouldClearPreviewedForm() OVERRIDE; |
61 virtual void RendererShouldFillFieldWithValue( | 63 virtual void RendererShouldFillFieldWithValue( |
62 const base::string16& value) OVERRIDE; | 64 const base::string16& value) OVERRIDE; |
63 virtual void RendererShouldPreviewFieldWithValue( | 65 virtual void RendererShouldPreviewFieldWithValue( |
64 const base::string16& value) OVERRIDE; | 66 const base::string16& value) OVERRIDE; |
65 | 67 |
66 // Returns the WebContents with which this instance is associated. | 68 // Returns the WebContents with which this instance is associated. |
67 content::WebContents* GetWebContents(); | 69 content::WebContents* GetWebContents(); |
68 | 70 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
102 // case where the Autofill native UI is enabled. | 104 // case where the Autofill native UI is enabled. |
103 AutofillExternalDelegate autofill_external_delegate_; | 105 AutofillExternalDelegate autofill_external_delegate_; |
104 | 106 |
105 // Driver for the interactive autocomplete dialog. | 107 // Driver for the interactive autocomplete dialog. |
106 RequestAutocompleteManager request_autocomplete_manager_; | 108 RequestAutocompleteManager request_autocomplete_manager_; |
107 }; | 109 }; |
108 | 110 |
109 } // namespace autofill | 111 } // namespace autofill |
110 | 112 |
111 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ | 113 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ |
OLD | NEW |