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

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

Issue 1292693004: [Password Manager] Autofill forms with field name and id attributes missing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses Vadym's inputs. Created 5 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_FORM_CONVERSION_UTILS_H_ 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H_
6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H_ 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 const ModifiedValues* nonscript_modified_values, 58 const ModifiedValues* nonscript_modified_values,
59 const FormsPredictionsMap* form_predictions); 59 const FormsPredictionsMap* form_predictions);
60 60
61 // Same as CreatePasswordFormFromWebForm() but for input elements that are not 61 // Same as CreatePasswordFormFromWebForm() but for input elements that are not
62 // enclosed in <form> element. 62 // enclosed in <form> element.
63 scoped_ptr<PasswordForm> CreatePasswordFormFromUnownedInputElements( 63 scoped_ptr<PasswordForm> CreatePasswordFormFromUnownedInputElements(
64 const blink::WebFrame& frame, 64 const blink::WebFrame& frame,
65 const ModifiedValues* nonscript_modified_values, 65 const ModifiedValues* nonscript_modified_values,
66 const FormsPredictionsMap* form_predictions); 66 const FormsPredictionsMap* form_predictions);
67 67
68 // Checks in a case-insensitive way if the autocomplete attribute for the given
69 // |element| is present and has the specified |value_in_lowercase|.
70 bool HasAutocompleteAttributeValue(const blink::WebInputElement& element,
71 const char* value_in_lowercase);
72
68 } // namespace autofill 73 } // namespace autofill
69 74
70 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H __ 75 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H __
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698