| 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_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI
VER_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI
VER_H_ |
| 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI
VER_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI
VER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 bool CheckChildProcessSecurityPolicy(const GURL& url, | 121 bool CheckChildProcessSecurityPolicy(const GURL& url, |
| 122 BadMessageReason reason); | 122 BadMessageReason reason); |
| 123 | 123 |
| 124 const autofill::mojom::AutofillAgentPtr& GetAutofillAgent(); | 124 const autofill::mojom::AutofillAgentPtr& GetAutofillAgent(); |
| 125 | 125 |
| 126 const autofill::mojom::PasswordAutofillAgentPtr& GetPasswordAutofillAgent(); | 126 const autofill::mojom::PasswordAutofillAgentPtr& GetPasswordAutofillAgent(); |
| 127 | 127 |
| 128 const autofill::mojom::PasswordGenerationAgentPtr& | 128 const autofill::mojom::PasswordGenerationAgentPtr& |
| 129 GetPasswordGenerationAgent(); | 129 GetPasswordGenerationAgent(); |
| 130 | 130 |
| 131 gfx::RectF TransformToRootCoordinates( |
| 132 const gfx::RectF& bounds_in_frame_coordinates); |
| 133 |
| 131 content::RenderFrameHost* render_frame_host_; | 134 content::RenderFrameHost* render_frame_host_; |
| 132 PasswordManagerClient* client_; | 135 PasswordManagerClient* client_; |
| 133 PasswordGenerationManager password_generation_manager_; | 136 PasswordGenerationManager password_generation_manager_; |
| 134 PasswordAutofillManager password_autofill_manager_; | 137 PasswordAutofillManager password_autofill_manager_; |
| 135 | 138 |
| 136 // Every instance of PasswordFormFillData created by |*this| and sent to | 139 // Every instance of PasswordFormFillData created by |*this| and sent to |
| 137 // PasswordAutofillManager and PasswordAutofillAgent is given an ID, so that | 140 // PasswordAutofillManager and PasswordAutofillAgent is given an ID, so that |
| 138 // the latter two classes can reference to the same instance without sending | 141 // the latter two classes can reference to the same instance without sending |
| 139 // it to each other over IPC. The counter below is used to generate new IDs. | 142 // it to each other over IPC. The counter below is used to generate new IDs. |
| 140 int next_free_key_; | 143 int next_free_key_; |
| 141 | 144 |
| 142 autofill::mojom::PasswordAutofillAgentPtr password_autofill_agent_; | 145 autofill::mojom::PasswordAutofillAgentPtr password_autofill_agent_; |
| 143 | 146 |
| 144 autofill::mojom::PasswordGenerationAgentPtr password_gen_agent_; | 147 autofill::mojom::PasswordGenerationAgentPtr password_gen_agent_; |
| 145 | 148 |
| 146 mojo::Binding<autofill::mojom::PasswordManagerDriver> | 149 mojo::Binding<autofill::mojom::PasswordManagerDriver> |
| 147 password_manager_binding_; | 150 password_manager_binding_; |
| 148 mojo::BindingSet<blink::mojom::SensitiveInputVisibilityService> | 151 mojo::BindingSet<blink::mojom::SensitiveInputVisibilityService> |
| 149 sensitive_input_visibility_bindings_; | 152 sensitive_input_visibility_bindings_; |
| 150 | 153 |
| 151 base::WeakPtrFactory<ContentPasswordManagerDriver> weak_factory_; | 154 base::WeakPtrFactory<ContentPasswordManagerDriver> weak_factory_; |
| 152 | 155 |
| 153 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver); | 156 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver); |
| 154 }; | 157 }; |
| 155 | 158 |
| 156 } // namespace password_manager | 159 } // namespace password_manager |
| 157 | 160 |
| 158 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_
DRIVER_H_ | 161 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_
DRIVER_H_ |
| OLD | NEW |