| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ | 5 #ifndef CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ |
| 6 #define CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ | 6 #define CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 virtual void DidFinishDocumentLoad(WebKit::WebFrame* frame) OVERRIDE; | 65 virtual void DidFinishDocumentLoad(WebKit::WebFrame* frame) OVERRIDE; |
| 66 virtual void FrameDetached(WebKit::WebFrame* frame) OVERRIDE; | 66 virtual void FrameDetached(WebKit::WebFrame* frame) OVERRIDE; |
| 67 virtual void FrameWillClose(WebKit::WebFrame* frame) OVERRIDE; | 67 virtual void FrameWillClose(WebKit::WebFrame* frame) OVERRIDE; |
| 68 virtual void WillSubmitForm(WebKit::WebFrame* frame, | 68 virtual void WillSubmitForm(WebKit::WebFrame* frame, |
| 69 const WebKit::WebFormElement& form) OVERRIDE; | 69 const WebKit::WebFormElement& form) OVERRIDE; |
| 70 | 70 |
| 71 // PageClickListener: | 71 // PageClickListener: |
| 72 virtual bool InputElementClicked(const WebKit::WebInputElement& element, | 72 virtual bool InputElementClicked(const WebKit::WebInputElement& element, |
| 73 bool was_focused, | 73 bool was_focused, |
| 74 bool is_focused) OVERRIDE; | 74 bool is_focused) OVERRIDE; |
| 75 virtual bool InputElementLostFocus() OVERRIDE; |
| 75 | 76 |
| 76 // WebKit::WebAutofillClient: | 77 // WebKit::WebAutofillClient: |
| 77 virtual void didAcceptAutofillSuggestion(const WebKit::WebNode& node, | 78 virtual void didAcceptAutofillSuggestion(const WebKit::WebNode& node, |
| 78 const WebKit::WebString& value, | 79 const WebKit::WebString& value, |
| 79 const WebKit::WebString& label, | 80 const WebKit::WebString& label, |
| 80 int unique_id, | 81 int unique_id, |
| 81 unsigned index) OVERRIDE; | 82 unsigned index) OVERRIDE; |
| 82 virtual void didSelectAutofillSuggestion(const WebKit::WebNode& node, | 83 virtual void didSelectAutofillSuggestion(const WebKit::WebNode& node, |
| 83 const WebKit::WebString& value, | 84 const WebKit::WebString& value, |
| 84 const WebKit::WebString& label, | 85 const WebKit::WebString& label, |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, WaitUsername); | 183 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, WaitUsername); |
| 183 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionAccept); | 184 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionAccept); |
| 184 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionSelect); | 185 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionSelect); |
| 185 | 186 |
| 186 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); | 187 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); |
| 187 }; | 188 }; |
| 188 | 189 |
| 189 } // namespace autofill | 190 } // namespace autofill |
| 190 | 191 |
| 191 #endif // CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ | 192 #endif // CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ |
| OLD | NEW |