OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CONTENT_RENDERER_AUTOFILL_AGENT_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ |
6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ | 6 #define COMPONENTS_AUTOFILL_CONTENT_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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 // guaranteed to outlive AutofillAgent. | 52 // guaranteed to outlive AutofillAgent. |
53 AutofillAgent(content::RenderView* render_view, | 53 AutofillAgent(content::RenderView* render_view, |
54 PasswordAutofillAgent* password_autofill_manager, | 54 PasswordAutofillAgent* password_autofill_manager, |
55 PasswordGenerationAgent* password_generation_agent); | 55 PasswordGenerationAgent* password_generation_agent); |
56 virtual ~AutofillAgent(); | 56 virtual ~AutofillAgent(); |
57 | 57 |
58 private: | 58 private: |
59 // content::RenderViewObserver: | 59 // content::RenderViewObserver: |
60 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 60 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
61 virtual void DidFinishDocumentLoad(blink::WebLocalFrame* frame) OVERRIDE; | 61 virtual void DidFinishDocumentLoad(blink::WebLocalFrame* frame) OVERRIDE; |
| 62 virtual void DidCommitProvisionalLoad(blink::WebLocalFrame* frame, |
| 63 bool is_new_navigation) OVERRIDE; |
62 virtual void FrameDetached(blink::WebFrame* frame) OVERRIDE; | 64 virtual void FrameDetached(blink::WebFrame* frame) OVERRIDE; |
63 virtual void FrameWillClose(blink::WebFrame* frame) OVERRIDE; | 65 virtual void FrameWillClose(blink::WebFrame* frame) OVERRIDE; |
64 virtual void WillSubmitForm(blink::WebLocalFrame* frame, | 66 virtual void WillSubmitForm(blink::WebLocalFrame* frame, |
65 const blink::WebFormElement& form) OVERRIDE; | 67 const blink::WebFormElement& form) OVERRIDE; |
66 virtual void ZoomLevelChanged() OVERRIDE; | 68 virtual void ZoomLevelChanged() OVERRIDE; |
67 virtual void DidChangeScrollOffset(blink::WebLocalFrame* frame) OVERRIDE; | 69 virtual void DidChangeScrollOffset(blink::WebLocalFrame* frame) OVERRIDE; |
68 virtual void FocusedNodeChanged(const blink::WebNode& node) OVERRIDE; | 70 virtual void FocusedNodeChanged(const blink::WebNode& node) OVERRIDE; |
69 virtual void OrientationChangeEvent() OVERRIDE; | 71 virtual void OrientationChangeEvent() OVERRIDE; |
70 | 72 |
71 // PageClickListener: | 73 // PageClickListener: |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 NoCancelOnSubframeNavigateAfterDone); | 252 NoCancelOnSubframeNavigateAfterDone); |
251 FRIEND_TEST_ALL_PREFIXES(RequestAutocompleteRendererTest, | 253 FRIEND_TEST_ALL_PREFIXES(RequestAutocompleteRendererTest, |
252 InvokingTwiceOnlyShowsOnce); | 254 InvokingTwiceOnlyShowsOnce); |
253 | 255 |
254 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); | 256 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); |
255 }; | 257 }; |
256 | 258 |
257 } // namespace autofill | 259 } // namespace autofill |
258 | 260 |
259 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ | 261 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ |
OLD | NEW |