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

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

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 // Make the value of |element| accessible to JavaScript code. 125 // Make the value of |element| accessible to JavaScript code.
126 void ShowValue(blink::WebInputElement* element); 126 void ShowValue(blink::WebInputElement* element);
127 127
128 bool was_user_gesture_seen_; 128 bool was_user_gesture_seen_;
129 std::vector<blink::WebInputElement> elements_; 129 std::vector<blink::WebInputElement> elements_;
130 130
131 DISALLOW_COPY_AND_ASSIGN(PasswordValueGatekeeper); 131 DISALLOW_COPY_AND_ASSIGN(PasswordValueGatekeeper);
132 }; 132 };
133 133
134 // RenderViewObserver: 134 // RenderViewObserver:
135 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 135 virtual bool OnMessageReceived(const IPC::Message& message) override;
136 virtual void DidStartProvisionalLoad(blink::WebLocalFrame* frame) OVERRIDE; 136 virtual void DidStartProvisionalLoad(blink::WebLocalFrame* frame) override;
137 virtual void DidStartLoading() OVERRIDE; 137 virtual void DidStartLoading() override;
138 virtual void DidFinishDocumentLoad(blink::WebLocalFrame* frame) OVERRIDE; 138 virtual void DidFinishDocumentLoad(blink::WebLocalFrame* frame) override;
139 virtual void DidFinishLoad(blink::WebLocalFrame* frame) OVERRIDE; 139 virtual void DidFinishLoad(blink::WebLocalFrame* frame) override;
140 virtual void DidStopLoading() OVERRIDE; 140 virtual void DidStopLoading() override;
141 virtual void FrameDetached(blink::WebFrame* frame) OVERRIDE; 141 virtual void FrameDetached(blink::WebFrame* frame) override;
142 virtual void FrameWillClose(blink::WebFrame* frame) OVERRIDE; 142 virtual void FrameWillClose(blink::WebFrame* frame) override;
143 virtual void WillSendSubmitEvent(blink::WebLocalFrame* frame, 143 virtual void WillSendSubmitEvent(blink::WebLocalFrame* frame,
144 const blink::WebFormElement& form) OVERRIDE; 144 const blink::WebFormElement& form) override;
145 virtual void WillSubmitForm(blink::WebLocalFrame* frame, 145 virtual void WillSubmitForm(blink::WebLocalFrame* frame,
146 const blink::WebFormElement& form) OVERRIDE; 146 const blink::WebFormElement& form) override;
147 147
148 // RenderView IPC handlers: 148 // RenderView IPC handlers:
149 void OnFillPasswordForm(const PasswordFormFillData& form_data); 149 void OnFillPasswordForm(const PasswordFormFillData& form_data);
150 void OnSetLoggingState(bool active); 150 void OnSetLoggingState(bool active);
151 151
152 // Scans the given frame for password forms and sends them up to the browser. 152 // Scans the given frame for password forms and sends them up to the browser.
153 // If |only_visible| is true, only forms visible in the layout are sent. 153 // If |only_visible| is true, only forms visible in the layout are sent.
154 void SendPasswordForms(blink::WebFrame* frame, bool only_visible); 154 void SendPasswordForms(blink::WebFrame* frame, bool only_visible);
155 155
156 bool ShowSuggestionPopup(const PasswordFormFillData& fill_data, 156 bool ShowSuggestionPopup(const PasswordFormFillData& fill_data,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 bool did_stop_loading_; 222 bool did_stop_loading_;
223 223
224 base::WeakPtrFactory<PasswordAutofillAgent> weak_ptr_factory_; 224 base::WeakPtrFactory<PasswordAutofillAgent> weak_ptr_factory_;
225 225
226 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent); 226 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent);
227 }; 227 };
228 228
229 } // namespace autofill 229 } // namespace autofill
230 230
231 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ 231 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698