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

Side by Side Diff: chrome/renderer/autofill/password_autofill_manager.h

Issue 8613004: Add OVERRIDE to chrome/renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « no previous file | chrome/renderer/blocked_plugin.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PASSWORD_AUTOFILL_MANAGER_H_ 5 #ifndef CHROME_RENDERER_AUTOFILL_PASSWORD_AUTOFILL_MANAGER_H_
6 #define CHROME_RENDERER_AUTOFILL_PASSWORD_AUTOFILL_MANAGER_H_ 6 #define CHROME_RENDERER_AUTOFILL_PASSWORD_AUTOFILL_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 struct PasswordInfo { 56 struct PasswordInfo {
57 WebKit::WebInputElement password_field; 57 WebKit::WebInputElement password_field;
58 webkit_glue::PasswordFormFillData fill_data; 58 webkit_glue::PasswordFormFillData fill_data;
59 bool backspace_pressed_last; 59 bool backspace_pressed_last;
60 PasswordInfo() : backspace_pressed_last(false) {} 60 PasswordInfo() : backspace_pressed_last(false) {}
61 }; 61 };
62 typedef std::map<WebKit::WebElement, PasswordInfo> LoginToPasswordInfoMap; 62 typedef std::map<WebKit::WebElement, PasswordInfo> LoginToPasswordInfoMap;
63 63
64 // RenderViewObserver: 64 // RenderViewObserver:
65 virtual bool OnMessageReceived(const IPC::Message& message); 65 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
66 virtual void DidFinishDocumentLoad(WebKit::WebFrame* frame); 66 virtual void DidFinishDocumentLoad(WebKit::WebFrame* frame) OVERRIDE;
67 virtual void DidFinishLoad(WebKit::WebFrame* frame); 67 virtual void DidFinishLoad(WebKit::WebFrame* frame) OVERRIDE;
68 virtual void FrameDetached(WebKit::WebFrame* frame); 68 virtual void FrameDetached(WebKit::WebFrame* frame) OVERRIDE;
69 virtual void FrameWillClose(WebKit::WebFrame* frame); 69 virtual void FrameWillClose(WebKit::WebFrame* frame) OVERRIDE;
70 70
71 // PageClickListener: 71 // PageClickListener:
72 virtual bool InputElementClicked(const WebKit::WebInputElement& element, 72 virtual bool InputElementClicked(const WebKit::WebInputElement& element,
73 bool was_focused, 73 bool was_focused,
74 bool is_focused) OVERRIDE; 74 bool is_focused) OVERRIDE;
75 virtual bool InputElementLostFocus() OVERRIDE; 75 virtual bool InputElementLostFocus() OVERRIDE;
76 76
77 // RenderView IPC handlers: 77 // RenderView IPC handlers:
78 void OnFillPasswordForm(const webkit_glue::PasswordFormFillData& form_data); 78 void OnFillPasswordForm(const webkit_glue::PasswordFormFillData& form_data);
79 79
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 LoginToPasswordInfoMap login_to_password_info_; 115 LoginToPasswordInfoMap login_to_password_info_;
116 116
117 base::WeakPtrFactory<PasswordAutofillManager> weak_ptr_factory_; 117 base::WeakPtrFactory<PasswordAutofillManager> weak_ptr_factory_;
118 118
119 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillManager); 119 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillManager);
120 }; 120 };
121 121
122 } // namespace autofill 122 } // namespace autofill
123 123
124 #endif // CHROME_RENDERER_AUTOFILL_PASSWORD_AUTOFILL_MANAGER_H_ 124 #endif // CHROME_RENDERER_AUTOFILL_PASSWORD_AUTOFILL_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/blocked_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698