| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDERER_AUTOFILL_AGENT_H_ | 5 #ifndef COMPONENTS_AUTOFILL_RENDERER_AUTOFILL_AGENT_H_ |
| 6 #define COMPONENTS_AUTOFILL_RENDERER_AUTOFILL_AGENT_H_ | 6 #define COMPONENTS_AUTOFILL_RENDERER_AUTOFILL_AGENT_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 virtual void DidCommitProvisionalLoad(WebKit::WebFrame* frame, | 67 virtual void DidCommitProvisionalLoad(WebKit::WebFrame* frame, |
| 68 bool is_new_navigation) OVERRIDE; | 68 bool is_new_navigation) OVERRIDE; |
| 69 virtual void FrameDetached(WebKit::WebFrame* frame) OVERRIDE; | 69 virtual void FrameDetached(WebKit::WebFrame* frame) OVERRIDE; |
| 70 virtual void WillSubmitForm(WebKit::WebFrame* frame, | 70 virtual void WillSubmitForm(WebKit::WebFrame* frame, |
| 71 const WebKit::WebFormElement& form) OVERRIDE; | 71 const WebKit::WebFormElement& form) OVERRIDE; |
| 72 virtual void ZoomLevelChanged() OVERRIDE; | 72 virtual void ZoomLevelChanged() OVERRIDE; |
| 73 virtual void DidChangeScrollOffset(WebKit::WebFrame* frame) OVERRIDE; | 73 virtual void DidChangeScrollOffset(WebKit::WebFrame* frame) OVERRIDE; |
| 74 virtual void FocusedNodeChanged(const WebKit::WebNode& node) OVERRIDE; | 74 virtual void FocusedNodeChanged(const WebKit::WebNode& node) OVERRIDE; |
| 75 | 75 |
| 76 // PageClickListener: | 76 // PageClickListener: |
| 77 virtual void InputElementClicked(const WebKit::WebInputElement& element, | 77 virtual void InputElementClicked( |
| 78 bool was_focused, | 78 const WebKit::WebInputElement& element, |
| 79 bool is_focused) OVERRIDE; | 79 bool was_focused, |
| 80 bool is_focused, |
| 81 InputEventSource input_event_source) OVERRIDE; |
| 80 virtual void InputElementLostFocus() OVERRIDE; | 82 virtual void InputElementLostFocus() OVERRIDE; |
| 81 | 83 |
| 82 // WebKit::WebAutofillClient: | 84 // WebKit::WebAutofillClient: |
| 83 virtual void didAcceptAutofillSuggestion(const WebKit::WebNode& node, | 85 virtual void didAcceptAutofillSuggestion(const WebKit::WebNode& node, |
| 84 const WebKit::WebString& value, | 86 const WebKit::WebString& value, |
| 85 const WebKit::WebString& label, | 87 const WebKit::WebString& label, |
| 86 int item_id, | 88 int item_id, |
| 87 unsigned index) OVERRIDE; | 89 unsigned index) OVERRIDE; |
| 88 virtual void didSelectAutofillSuggestion(const WebKit::WebNode& node, | 90 virtual void didSelectAutofillSuggestion(const WebKit::WebNode& node, |
| 89 const WebKit::WebString& value, | 91 const WebKit::WebString& value, |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillAgentTest, WaitUsername); | 288 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillAgentTest, WaitUsername); |
| 287 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillAgentTest, SuggestionAccept); | 289 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillAgentTest, SuggestionAccept); |
| 288 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillAgentTest, SuggestionSelect); | 290 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillAgentTest, SuggestionSelect); |
| 289 | 291 |
| 290 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); | 292 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); |
| 291 }; | 293 }; |
| 292 | 294 |
| 293 } // namespace autofill | 295 } // namespace autofill |
| 294 | 296 |
| 295 #endif // COMPONENTS_AUTOFILL_RENDERER_AUTOFILL_AGENT_H_ | 297 #endif // COMPONENTS_AUTOFILL_RENDERER_AUTOFILL_AGENT_H_ |
| OLD | NEW |