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 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 AUTOFILL_PREVIEW, // Preview the Autofill form data. | 58 AUTOFILL_PREVIEW, // Preview the Autofill form data. |
59 }; | 59 }; |
60 | 60 |
61 // RenderView::Observer: | 61 // RenderView::Observer: |
62 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 62 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
63 virtual void DidFinishDocumentLoad(WebKit::WebFrame* frame) OVERRIDE; | 63 virtual void DidFinishDocumentLoad(WebKit::WebFrame* frame) OVERRIDE; |
64 virtual void FrameDetached(WebKit::WebFrame* frame) OVERRIDE; | 64 virtual void FrameDetached(WebKit::WebFrame* frame) OVERRIDE; |
65 virtual void FrameWillClose(WebKit::WebFrame* frame) OVERRIDE; | 65 virtual void FrameWillClose(WebKit::WebFrame* frame) OVERRIDE; |
66 virtual void WillSubmitForm(WebKit::WebFrame* frame, | 66 virtual void WillSubmitForm(WebKit::WebFrame* frame, |
67 const WebKit::WebFormElement& form) OVERRIDE; | 67 const WebKit::WebFormElement& form) OVERRIDE; |
| 68 virtual void ZoomLevelChanged() OVERRIDE; |
| 69 virtual void DidChangeScrollOffset(WebKit::WebFrame* frame) OVERRIDE; |
68 | 70 |
69 // PageClickListener: | 71 // PageClickListener: |
70 virtual bool InputElementClicked(const WebKit::WebInputElement& element, | 72 virtual bool InputElementClicked(const WebKit::WebInputElement& element, |
71 bool was_focused, | 73 bool was_focused, |
72 bool is_focused) OVERRIDE; | 74 bool is_focused) OVERRIDE; |
73 virtual bool InputElementLostFocus() OVERRIDE; | 75 virtual bool InputElementLostFocus() OVERRIDE; |
74 | 76 |
75 // WebKit::WebAutofillClient: | 77 // WebKit::WebAutofillClient: |
76 virtual void didAcceptAutofillSuggestion(const WebKit::WebNode& node, | 78 virtual void didAcceptAutofillSuggestion(const WebKit::WebNode& node, |
77 const WebKit::WebString& value, | 79 const WebKit::WebString& value, |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, WaitUsername); | 196 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, WaitUsername); |
195 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionAccept); | 197 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionAccept); |
196 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionSelect); | 198 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionSelect); |
197 | 199 |
198 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); | 200 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); |
199 }; | 201 }; |
200 | 202 |
201 } // namespace autofill | 203 } // namespace autofill |
202 | 204 |
203 #endif // CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ | 205 #endif // CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ |
OLD | NEW |