summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/autofill
Commit message (Collapse)AuthorAgeFilesLines
* Move some files from base to base/memory.levin@chromium.org2011-03-283-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raw_scoped_refptr_mismatch_checker.h ref_counted.cc ref_counted.h ref_counted_memory.cc ref_counted_memory.h ref_counted_unittest.cc scoped_callback_factory.h scoped_comptr_win.h scoped_handle.h scoped_native_library.cc scoped_native_library.h scoped_native_library_unittest.cc scoped_nsobject.h scoped_open_process.h scoped_ptr.h scoped_ptr_unittest.cc scoped_temp_dir.cc scoped_temp_dir.h scoped_temp_dir_unittest.cc scoped_vector.h singleton.h singleton_objc.h singleton_unittest.cc linked_ptr.h linked_ptr_unittest.cc weak_ptr.cc weak_ptr.h weak_ptr_unittest.cc BUG=None TEST=Compile Review URL: http://codereview.chromium.org/6714032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79524 0039d316-1c4b-4281-b951-d872f2087c98
* Don't autofill fields styled to be non-user visible.isherman@chromium.org2011-03-253-5/+37
| | | | | | | | | | | Depends on https://bugs.webkit.org/show_bug.cgi?id=56809 BUG=72918 TEST=browser_tests --gtest_filter=FormManagerTest.FillForm Review URL: http://codereview.chromium.org/6675024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79375 0039d316-1c4b-4281-b951-d872f2087c98
* Fix failing autofill testisherman@chromium.org2011-03-241-3/+3
| | | | | | | | | BUG=36520 TEST=browser_tests --gtest_filter=FormAutocompleteTest.DynamicAutoCompleteOffFormSubmit Review URL: http://codereview.chromium.org/6732012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79250 0039d316-1c4b-4281-b951-d872f2087c98
* Remove no longer necessary workaround for setSuggestedValue()isherman@chromium.org2011-03-231-6/+2
| | | | | | | | | | | This was previously needed because we were incorrectly passing string16() rather than WebString() into input_element->setSuggestedValue(). WebKit distinguishes between an empty string -- string16() -- and a null string -- WebString(). BUG=none TEST=none Review URL: http://codereview.chromium.org/6675022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79167 0039d316-1c4b-4281-b951-d872f2087c98
* autofill: Rename all the entries remaining with AutoFill to Autofill.tfarina@chromium.org2011-03-219-111/+111
| | | | | | | | | | R=isherman@chromium.org,dhollowa@chromium.org BUG=72758 TEST=existing unit_tests Review URL: http://codereview.chromium.org/6688053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78856 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of remaining files from chrome\renderer to content\renderer.jam@chromium.org2011-03-194-4/+4
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6688047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78781 0039d316-1c4b-4281-b951-d872f2087c98
* Don't autofill read-only fieldsisherman@chromium.org2011-03-172-13/+22
| | | | | | | | | | | Depends on WebKit patch: https://bugs.webkit.org/show_bug.cgi?id=55760 BUG=74916 TEST=browser_tests --gtest_filter=FormManagerTest.FillForm Review URL: http://codereview.chromium.org/6696014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78519 0039d316-1c4b-4281-b951-d872f2087c98
* Use WebFormControlElement::isEnabled() rather than ↵isherman@chromium.org2011-03-142-13/+11
| | | | | | | | | | | WebInputElement:isEnabledFormControl() BUG=74925 TEST=none Review URL: http://codereview.chromium.org/6679027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78088 0039d316-1c4b-4281-b951-d872f2087c98
* Dispatch change event for autofilled fieldsisherman@chromium.org2011-03-102-4/+6
| | | | | | | | | BUG=42716 TEST=interactive_ui_tests --gtest_filter=AutoFillTest.OnChangeAfterAutoFill Review URL: http://codereview.chromium.org/6649015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77617 0039d316-1c4b-4281-b951-d872f2087c98
* Make FormField be a struct rather than a class per c++ standards.tsepez@chromium.org2011-03-086-82/+82
| | | | | | | | | | | This makes automatic generation of IPC messages much easier. Convert autofill messsage to automatic generation in the process. Attempt #2: fix build on chromeos, see http://codereview.chromium.org/6633001 for original CL. Review URL: http://codereview.chromium.org/6625087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77307 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 77296 - zea@chromium.org2011-03-086-82/+82
| | | | | | | | | | | | | | | Convert autofill messages to use the new IPC macros. This requires changing the FormField class to a struct with publically-visible members, which was what should have been done in the first place, instead of the trivial setters/getters which are accessed in various combinations independently of each other throughout the code. Review URL: http://codereview.chromium.org/6633001 TBR=tsepez@chromium.org Review URL: http://codereview.chromium.org/6623086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77298 0039d316-1c4b-4281-b951-d872f2087c98
* Convert autofill messages to use the new IPC macros. This requirestsepez@chromium.org2011-03-086-82/+82
| | | | | | | | | | | changing the FormField class to a struct with publically-visible members, which was what should have been done in the first place, instead of the trivial setters/getters which are accessed in various combinations independently of each other throughout the code. Review URL: http://codereview.chromium.org/6633001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77296 0039d316-1c4b-4281-b951-d872f2087c98
* Only select untyped portion of previewed autofill suggestions.isherman@chromium.org2011-03-082-3/+10
| | | | | | | | | BUG=74894 TEST=browser_tests --gtest_filter=FormManagerTest.FillFormNonEmptyField Review URL: http://codereview.chromium.org/6635028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77251 0039d316-1c4b-4281-b951-d872f2087c98
* autofill: Rename AutoFillManager to AutofillManager.tfarina@chromium.org2011-03-055-55/+55
| | | | | | | | | BUG=72758 TEST=existing unit_tests Review URL: http://codereview.chromium.org/6625033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77031 0039d316-1c4b-4281-b951-d872f2087c98
* Hover/selection of username dropdown items should do nothingdhollowa@chromium.org2011-03-044-27/+77
| | | | | | | | | | | This changes the password autofill interaction between mouse-hover and menu item selection's interaction with the contents of the <input> text. This restores the original behavior of only modifying the <input> text when the user has explicity "accepted" the selection in the menu, as opposed to hovering over the selection or key-down/up'ing to the selection. BUG=74868 TEST=PasswordAutoFillManagerTest.SuggestionAccept Review URL: http://codereview.chromium.org/6623005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76999 0039d316-1c4b-4281-b951-d872f2087c98
* Incorrect login autofills default passworddhollowa@chromium.org2011-02-242-3/+22
| | | | | | | | | | | Changes the on-page-load password filling logic to only fill if no prior text has been filled in eithe password or username. The bug here was that partial results could be filled. BUG=72508 TEST=Manual test according to bug. Review URL: http://codereview.chromium.org/6576050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75992 0039d316-1c4b-4281-b951-d872f2087c98
* Autofill crasher ↵dhollowa@chromium.org2011-02-241-1/+2
| | | | | | | | | | | | | | | | | | Chrome:+Crash+Report+-+Stack+Signature:+WebCore::Node::renderBoxModelObject() Attempt at fix for new crasher specific to 11.0.680.0. The Autofill code on the renderer side has not changed in a couple weeks. Upon inspection of WebCore::Node::renderBoxModelObject() it would seem that the |this| pointer is NULL. This change adds an isNull() check on the node in question, but this doesn't address the source of the issue. Will follow-up with QE to bisect and isolate if possible. BUG=73895 TEST=observe crash reports on canary Review URL: http://codereview.chromium.org/6577009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75826 0039d316-1c4b-4281-b951-d872f2087c98
* Pull in a named constant from WebKitisherman@chromium.org2011-02-141-194/+204
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6437001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74867 0039d316-1c4b-4281-b951-d872f2087c98
* Remove includes of message headers in headers.jam@chromium.org2011-02-091-0/+1
| | | | | | Review URL: http://codereview.chromium.org/6458004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74257 0039d316-1c4b-4281-b951-d872f2087c98
* Only cache <input type="text"> and <select> elements for autofill.isherman@chromium.org2011-02-042-1208/+889
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6359019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73783 0039d316-1c4b-4281-b951-d872f2087c98
* Support autocompletion for HTMl5 tags:"email", "month" and "tel".dhollowa@chromium.org2011-02-032-58/+109
| | | | | | | | | | | | | | | | | | | BUG=65654 TEST=1.make HTML5 forms with the following input types: - Email input: <input type="email"> - Date picker: <input type="month"> for credit card expiration. - Telephone input: <input type="tel"> - Placeholder text: <input name="address" placeholder="1 Main Street"/> 2.Try to fill. Implement tests for email, month and tel input type. Also this patch needs WebKit patch, please refer to https://bugs.webkit.org/show_bug.cgi?id=51809 Actually, original issue item says placeholder problem, but I cannot reproduce manually. Review URL: http://codereview.chromium.org/6033010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73660 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up autofill::FormManagerisherman@chromium.org2011-02-013-148/+115
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6366025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73373 0039d316-1c4b-4281-b951-d872f2087c98
* Create autofill subdirectory in chrome/rendererisherman@chromium.org2011-01-299-0/+6008
BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6390006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73081 0039d316-1c4b-4281-b951-d872f2087c98