Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(491)

Side by Side Diff: components/autofill/content/renderer/password_autofill_agent.h

Issue 226093007: Convert Chrome usages of WebFrame to WebLocalFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_PASSWORD_AUTOFILL_AGENT_H_ 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_
6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 void ShowValue(blink::WebInputElement* element); 103 void ShowValue(blink::WebInputElement* element);
104 104
105 bool was_user_gesture_seen_; 105 bool was_user_gesture_seen_;
106 std::vector<blink::WebInputElement> elements_; 106 std::vector<blink::WebInputElement> elements_;
107 107
108 DISALLOW_COPY_AND_ASSIGN(PasswordValueGatekeeper); 108 DISALLOW_COPY_AND_ASSIGN(PasswordValueGatekeeper);
109 }; 109 };
110 110
111 // RenderViewObserver: 111 // RenderViewObserver:
112 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 112 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
113 virtual void DidStartProvisionalLoad(blink::WebFrame* frame) OVERRIDE; 113 virtual void DidStartProvisionalLoad(blink::WebLocalFrame* frame) OVERRIDE;
114 virtual void DidStartLoading() OVERRIDE; 114 virtual void DidStartLoading() OVERRIDE;
115 virtual void DidFinishDocumentLoad(blink::WebFrame* frame) OVERRIDE; 115 virtual void DidFinishDocumentLoad(blink::WebLocalFrame* frame) OVERRIDE;
116 virtual void DidFinishLoad(blink::WebFrame* frame) OVERRIDE; 116 virtual void DidFinishLoad(blink::WebLocalFrame* frame) OVERRIDE;
117 virtual void FrameDetached(blink::WebFrame* frame) OVERRIDE; 117 virtual void FrameDetached(blink::WebFrame* frame) OVERRIDE;
118 virtual void FrameWillClose(blink::WebFrame* frame) OVERRIDE; 118 virtual void FrameWillClose(blink::WebFrame* frame) OVERRIDE;
119 virtual void WillSendSubmitEvent(blink::WebFrame* frame, 119 virtual void WillSendSubmitEvent(blink::WebLocalFrame* frame,
120 const blink::WebFormElement& form) OVERRIDE; 120 const blink::WebFormElement& form) OVERRIDE;
121 virtual void WillSubmitForm(blink::WebFrame* frame, 121 virtual void WillSubmitForm(blink::WebLocalFrame* frame,
122 const blink::WebFormElement& form) OVERRIDE; 122 const blink::WebFormElement& form) OVERRIDE;
123 virtual void WillProcessUserGesture() OVERRIDE; 123 virtual void WillProcessUserGesture() OVERRIDE;
124 124
125 // RenderView IPC handlers: 125 // RenderView IPC handlers:
126 void OnFillPasswordForm(const PasswordFormFillData& form_data); 126 void OnFillPasswordForm(const PasswordFormFillData& form_data);
127 127
128 // Scans the given frame for password forms and sends them up to the browser. 128 // Scans the given frame for password forms and sends them up to the browser.
129 // If |only_visible| is true, only forms visible in the layout are sent. 129 // If |only_visible| is true, only forms visible in the layout are sent.
130 void SendPasswordForms(blink::WebFrame* frame, bool only_visible); 130 void SendPasswordForms(blink::WebFrame* frame, bool only_visible);
131 131
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 PasswordValueGatekeeper gatekeeper_; 190 PasswordValueGatekeeper gatekeeper_;
191 191
192 base::WeakPtrFactory<PasswordAutofillAgent> weak_ptr_factory_; 192 base::WeakPtrFactory<PasswordAutofillAgent> weak_ptr_factory_;
193 193
194 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent); 194 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent);
195 }; 195 };
196 196
197 } // namespace autofill 197 } // namespace autofill
198 198
199 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ 199 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698