summaryrefslogtreecommitdiffstats
path: root/components/autofill/content/renderer/form_cache.cc
Commit message (Collapse)AuthorAgeFilesLines
* Autofill's "Clear Form" should clear only autofilled fieldsn.bansal@samsung.com2014-06-171-0/+4
| | | | | | | | | | | Updated ClearFormWithElement() to ignore fields that were not autofilled. BUG=379969 Review URL: https://codereview.chromium.org/316853006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277902 0039d316-1c4b-4281-b951-d872f2087c98
* autocomplete: support filling address-line3, address-level{1,2,3}estade@chromium.org2014-06-171-0/+24
| | | | | | | | | | Deprecate region and locality, log a message on the console when they're encountered. BUG=340929 Review URL: https://codereview.chromium.org/322453003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277645 0039d316-1c4b-4281-b951-d872f2087c98
* Change all component_strings references to be to components_stringsblundell@chromium.org2014-05-281-1/+1
| | | | | | | | | | | | | | | | | There is an inconsistency wherein some references to components strings are "components_strings" (e.g., components_strings.grd), but some are "component_strings" (e.g., the XTB and pakfiles). This CL changes all references to "component_strings" to be to "components_strings": - XTB files - pakfiles - generated header file TBR=thakis Review URL: https://codereview.chromium.org/307563003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273224 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert of [Autofill] Enable Autofill for dynamically created forms. ↵gcasto@chromium.org2014-05-141-25/+9
| | | | | | | | | | | | | | (https://codereview.chromium.org/242613006/)" This reverts commit r268113 and additionally prevents frames that are still loading from being parsed. This behavior was the root cause of the previous test failures. BUG=360904 Review URL: https://codereview.chromium.org/277043002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270279 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of [Autofill] Enable Autofill for dynamically created forms. ↵dalecurtis@chromium.org2014-05-041-9/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (https://codereview.chromium.org/242613006/) Reason for revert: Broke DataDrivenHeuristics03 on the Mac debug bots: http://build.chromium.org/p/chromium.mac/buildstatus?builder=Mac%2010.6%20Tests%20%28dbg%29%284%29&number=40752 http://build.chromium.org/p/chromium.mac/buildstatus?builder=Mac%2010.7%20Tests%20%28dbg%29%284%29&number=23124 Original issue's description: > [Autofill] Enable Autofill for dynamically created forms. > > The appropriate hooks with Blink already exist, this change just causes > the browser to be informed whenever a form is added or changed. > > BUG=360904 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268107 NOTRY=true NOTREECHECKS=true TBR=tsepez,isherman,gcasto Review URL: https://codereview.chromium.org/265203002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268113 0039d316-1c4b-4281-b951-d872f2087c98
* [Autofill] Enable Autofill for dynamically created forms.gcasto@chromium.org2014-05-041-25/+9
| | | | | | | | | | | The appropriate hooks with Blink already exist, this change just causes the browser to be informed whenever a form is added or changed. BUG=360904 Review URL: https://codereview.chromium.org/242613006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268107 0039d316-1c4b-4281-b951-d872f2087c98
* Update a few more references to WebFrame to use WebLocalFrame.dcheng@chromium.org2014-04-101-1/+1
| | | | | | | | | | | | I've also updated the most straightforward changes to just remove references to WebFrame altogether. Code that uses a mixture of both throughout hasn't changed. BUG=346764 Review URL: https://codereview.chromium.org/231793004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263035 0039d316-1c4b-4281-b951-d872f2087c98
* Autofill/rAc: dispatch "input"/"change" on <input>, <textarea>, and <select>dbeam@chromium.org2014-03-311-5/+2
| | | | | | | | | | | | | | | | | | | | | | | elements when autofilled. This more closely matches the spec behavior[1]: """ When the user agent is to change an input element's value on behalf of the user (e.g. as part of a form prefilling feature), the user agent must queue a task to first update the value accordingly, then fire a simple event that bubbles named input at the input element, then fire a simple event that bubbles named change at the input element. """ BUG=353691,354257 R=isherman@chromium.org [1] http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#event-input-input Review URL: https://codereview.chromium.org/214823011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260474 0039d316-1c4b-4281-b951-d872f2087c98
* Add supports that allow Autofill to be initiated from textarea fieldziran.sun@samsung.com2014-03-251-1/+1
| | | | | | | | | | Handling both keyboard and mouse events in textarea that initiate autofill preview and fill form actions. Add test cases from browser tests aspect to cover page click and findformfieldfortextarea cases. BUG=332557 Review URL: https://codereview.chromium.org/204343004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259076 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 257476 "Add supports that allow Autofill to be initiated ..."isherman@chromium.org2014-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Caused a NULL pointer dereference crash. BUG=353549 > Add supports that allow Autofill to be initiated from textarea field > > Handling both keyboard and mouse events in textarea that initiate > autofill preview and fill form actions. Add test cases from browser > tests aspect to cover page click and findformfieldfortextarea cases. > > BUG=332557 > R=isherman@chromium.org > > Review URL: https://codereview.chromium.org/140093005 TBR=ziran.sun@samsung.com Review URL: https://codereview.chromium.org/203543003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257708 0039d316-1c4b-4281-b951-d872f2087c98
* Add supports that allow Autofill to be initiated from textarea fieldziran.sun@samsung.com2014-03-171-1/+1
| | | | | | | | | | | | | Handling both keyboard and mouse events in textarea that initiate autofill preview and fill form actions. Add test cases from browser tests aspect to cover page click and findformfieldfortextarea cases. BUG=332557 R=isherman@chromium.org Review URL: https://codereview.chromium.org/140093005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257476 0039d316-1c4b-4281-b951-d872f2087c98
* Update uses of UTF conversions in chrome_frame/, chromeos/, components/ to ↵avi@chromium.org2013-12-251-7/+9
| | | | | | | | | | | | use the base:: namespace. BUG=330556 TEST=no change TBR=ben@chromium.org Review URL: https://codereview.chromium.org/112433004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242493 0039d316-1c4b-4281-b951-d872f2087c98
* Rename WebKit namespace to blink (part 4)abarth@chromium.org2013-11-071-9/+9
| | | | | | | | | | | | This CL updates all references to the WebKit namespace in chrome and components. TBR=darin@chromium.org BUG=295096 Review URL: https://codereview.chromium.org/63273002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233464 0039d316-1c4b-4281-b951-d872f2087c98
* [Autofill] Restore support for <input type="month"> fields.isherman@chromium.org2013-10-291-1/+1
| | | | | | | | | | | | | | | These were previously treated as a type of text field by -Blink- WebKit, but are now treated as a separate type entirely. Updates the code to be aware of that type. BUG=263705 TEST=browser_tests R=aruslan@chromium.org, estade@chromium.org TBR=aruslan@chromium.org Review URL: https://codereview.chromium.org/46703002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231521 0039d316-1c4b-4281-b951-d872f2087c98
* [rAC] Remove some stale TODOsisherman@chromium.org2013-10-191-2/+0
| | | | | | | | | | BUG=none TEST=none R=estade@chromium.org Review URL: https://codereview.chromium.org/29073006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229559 0039d316-1c4b-4281-b951-d872f2087c98
* [Autofill] Set autofilled highlight for <textarea> elements as well as <input>s.isherman@chromium.org2013-10-111-1/+2
| | | | | | | | | | BUG=280499 TEST=browser_tests R=estade@chromium.org Review URL: https://codereview.chromium.org/26572012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228162 0039d316-1c4b-4281-b951-d872f2087c98
* [Autofill] Begin adding support for <textarea> fields.isherman@chromium.org2013-10-111-4/+14
| | | | | | | | | | | | | | | This CL adds support for treating <textarea> fields as autofillable. It also allows the (local) heuristic-based field type predictor to identify a textarea as an address field... but will only fill address line 1 into that field. BUG=280499 TEST=unit_tests and browser_tests R=estade@chromium.org Review URL: https://codereview.chromium.org/25974002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228066 0039d316-1c4b-4281-b951-d872f2087c98
* Update remaining Blink header includesabarth@chromium.org2013-06-201-6/+6
| | | | | | | | | | | | | This CL updates the remaining #includes from Source/WebKit/chromium/public to public/web. After this CL lands, I'll be able to remove the forwarding headers in Blink. TBR=darin@chromium.org BUG=239545 Review URL: https://codereview.chromium.org/17481004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207493 0039d316-1c4b-4281-b951-d872f2087c98
* components: Rename component_resources.* to component_strings.*tfarina@chromium.org2013-06-191-1/+1
| | | | | | | | | | | | components_resources is misleading. Resources are generally images/assets and/or html/js/css files and we use IDR_* for them. BUG=250213 R=joi@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/17192004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207130 0039d316-1c4b-4281-b951-d872f2087c98
* In components/autofill, move common/ to core/common/blundell@chromium.org2013-06-181-5/+5
| | | | | | | | | | | | | | | | | | | This change is part of moving autofill into its eventual structure of a layered component. autofill/components/core/ is a new directory that will hold code that is shared by all platforms (including iOS). This CL moves autofill/ components/common/ underneath this directory; a follow-up CL will move autofill/components/browser underneath this directory as well. This CL additionally imposes the correct DEPS restrictions on autofill/components/core/, with temporary allowances for the current violating includes. TBR=joi, thakis, benm BUG=247015 Review URL: https://chromiumcodereview.appspot.com/16879006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206994 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "In components/autofill, move common/ to shared/"blundell@chromium.org2013-06-151-5/+5
| | | | | | | | | | | | | This reverts commit fe014d19c0bac2bb05701ddb0d32119fe4f17c9f. This change broke compile on the win_split bot: http://build.chromium.org/p/chromium/buildstatus?builder=Win%20Split&number=690 TBR=blundell Review URL: https://codereview.chromium.org/17165002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206602 0039d316-1c4b-4281-b951-d872f2087c98
* In components/autofill, move common/ to shared/blundell@chromium.org2013-06-151-5/+5
| | | | | | | | | | | | | | | | | | | | | This change is part of moving autofill into its eventual structure of a layered component. autofill/components/shared/ is a new directory that will hold code that is shared by all platforms (including iOS). This CL populates that directory with the code that is currently in autofill/components/common/; a follow-up CL will move the contents of autofill/components/browser into this directory as well. This CL additionally imposes the correct DEPS restrictions on autofill/components/shared/, with temporary allowances for the current violating includes. TBR=joi, thakis, benm BUG=247015 Review URL: https://chromiumcodereview.appspot.com/17084005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206593 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of utf_string_conversions.h in chrome_frame/, ↵avi@chromium.org2013-06-071-1/+1
| | | | | | | | | | | | chromeos/, cloud_print/, components/, courgette/, device/, extensions/. BUG=none TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16614002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204961 0039d316-1c4b-4281-b951-d872f2087c98
* In components/autofill, move renderer/ to content/rendererblundell@chromium.org2013-06-061-0/+297
This change is part of moving components/autofill into its eventual structure as a layered component. This CL additionally adds a README in components/autofill that explains the project of making autofill into a layered component. TBR=thakis BUG=247015 Review URL: https://chromiumcodereview.appspot.com/15949025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204642 0039d316-1c4b-4281-b951-d872f2087c98