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

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

Issue 8351009: Updating PageClickTracker to Notify listeners When Text Input Loses Focus. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixing issues pointed out in code review 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
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 virtual bool OnMessageReceived(const IPC::Message& message); 65 virtual bool OnMessageReceived(const IPC::Message& message);
66 virtual void DidFinishDocumentLoad(WebKit::WebFrame* frame); 66 virtual void DidFinishDocumentLoad(WebKit::WebFrame* frame);
67 virtual void DidFinishLoad(WebKit::WebFrame* frame); 67 virtual void DidFinishLoad(WebKit::WebFrame* frame);
68 virtual void FrameDetached(WebKit::WebFrame* frame); 68 virtual void FrameDetached(WebKit::WebFrame* frame);
69 virtual void FrameWillClose(WebKit::WebFrame* frame); 69 virtual void FrameWillClose(WebKit::WebFrame* frame);
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); 74 bool is_focused);
75 virtual bool InputElementLostFocus();
Ilya Sherman 2011/10/31 21:23:12 nit: Please annotate this function with OVERRIDE.
csharp 2011/11/01 14:49:01 Done.
75 76
76 // RenderView IPC handlers: 77 // RenderView IPC handlers:
77 void OnFillPasswordForm(const webkit_glue::PasswordFormFillData& form_data); 78 void OnFillPasswordForm(const webkit_glue::PasswordFormFillData& form_data);
78 79
79 // Scans the given frame for password forms and sends them up to the browser. 80 // Scans the given frame for password forms and sends them up to the browser.
80 // If |only_visible| is true, only forms visible in the layout are sent. 81 // If |only_visible| is true, only forms visible in the layout are sent.
81 void SendPasswordForms(WebKit::WebFrame* frame, bool only_visible); 82 void SendPasswordForms(WebKit::WebFrame* frame, bool only_visible);
82 83
83 void GetSuggestions(const webkit_glue::PasswordFormFillData& fill_data, 84 void GetSuggestions(const webkit_glue::PasswordFormFillData& fill_data,
84 const string16& input, 85 const string16& input,
(...skipping 29 matching lines...) Expand all
114 LoginToPasswordInfoMap login_to_password_info_; 115 LoginToPasswordInfoMap login_to_password_info_;
115 116
116 base::WeakPtrFactory<PasswordAutofillManager> weak_ptr_factory_; 117 base::WeakPtrFactory<PasswordAutofillManager> weak_ptr_factory_;
117 118
118 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillManager); 119 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillManager);
119 }; 120 };
120 121
121 } // namespace autofill 122 } // namespace autofill
122 123
123 #endif // CHROME_RENDERER_AUTOFILL_PASSWORD_AUTOFILL_MANAGER_H_ 124 #endif // CHROME_RENDERER_AUTOFILL_PASSWORD_AUTOFILL_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698