| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 virtual void DidFinishDocumentLoad(WebKit::WebFrame* frame) OVERRIDE; | 61 virtual void DidFinishDocumentLoad(WebKit::WebFrame* frame) OVERRIDE; |
| 62 virtual void FrameDetached(WebKit::WebFrame* frame) OVERRIDE; | 62 virtual void FrameDetached(WebKit::WebFrame* frame) OVERRIDE; |
| 63 virtual void FrameWillClose(WebKit::WebFrame* frame) OVERRIDE; | 63 virtual void FrameWillClose(WebKit::WebFrame* frame) OVERRIDE; |
| 64 virtual void WillSubmitForm(WebKit::WebFrame* frame, | 64 virtual void WillSubmitForm(WebKit::WebFrame* frame, |
| 65 const WebKit::WebFormElement& form) OVERRIDE; | 65 const WebKit::WebFormElement& form) OVERRIDE; |
| 66 | 66 |
| 67 // PageClickListener: | 67 // PageClickListener: |
| 68 virtual bool InputElementClicked(const WebKit::WebInputElement& element, | 68 virtual bool InputElementClicked(const WebKit::WebInputElement& element, |
| 69 bool was_focused, | 69 bool was_focused, |
| 70 bool is_focused) OVERRIDE; | 70 bool is_focused) OVERRIDE; |
| 71 virtual bool InputElementLostFocus() OVERRIDE; |
| 71 | 72 |
| 72 // WebKit::WebAutofillClient: | 73 // WebKit::WebAutofillClient: |
| 73 virtual void didAcceptAutofillSuggestion(const WebKit::WebNode& node, | 74 virtual void didAcceptAutofillSuggestion(const WebKit::WebNode& node, |
| 74 const WebKit::WebString& value, | 75 const WebKit::WebString& value, |
| 75 const WebKit::WebString& label, | 76 const WebKit::WebString& label, |
| 76 int unique_id, | 77 int unique_id, |
| 77 unsigned index) OVERRIDE; | 78 unsigned index) OVERRIDE; |
| 78 virtual void didSelectAutofillSuggestion(const WebKit::WebNode& node, | 79 virtual void didSelectAutofillSuggestion(const WebKit::WebNode& node, |
| 79 const WebKit::WebString& value, | 80 const WebKit::WebString& value, |
| 80 const WebKit::WebString& label, | 81 const WebKit::WebString& label, |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, WaitUsername); | 182 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, WaitUsername); |
| 182 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionAccept); | 183 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionAccept); |
| 183 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionSelect); | 184 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionSelect); |
| 184 | 185 |
| 185 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); | 186 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); |
| 186 }; | 187 }; |
| 187 | 188 |
| 188 } // namespace autofill | 189 } // namespace autofill |
| 189 | 190 |
| 190 #endif // CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ | 191 #endif // CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ |
| OLD | NEW |