Update incomplete credentials in Login Database

Incomplete credentials (missing username_element, password_element
or submit_element) that might get added to the database via importing
from other browsers should now be updated correctly when they're
entered into the right form.

BUG=344337

Review URL: https://codereview.chromium.org/169173005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253791 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 253791
Optimize execution time of the memdump tool

In GalaxyNote3 device, the execution time of memdump takes 5.3s.
Among overall time, GetPagesForMemoryMap function took more than 4s.
This patch removes unnecessary divisions and lseek operations for the hot loop in GetPagesForMemoryMap.
It reduced the execution time from 5.3s to 4.7s on the GalaxyNote3.

BUG=none

Review URL: https://codereview.chromium.org/177003017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253792 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 253792
Use browser_backend's browser which is set by SetBrowser.

BUG=345875,347319
TEST=manual

Review URL: https://codereview.chromium.org/179763007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253793 0039d316-1c4b-4281-b951-d872f2087c98
Use active window if on current workspace for fullscreen mode.

BUG=330566,340647
TEST=WindowSelectorTest.FullscreenWindow,RootWindowControllerTest.GetWindowForFullscreenMode,RootWindowControllerTest.MultipleDisplaysGetWindowForFullscreenMode,PanelWindowResizerTest.AttachToSecondFullscreenDisplay
TEST=Open a panel and navigate a browser to an html5 fullscreen page, and fullscreen it. Alt+tab to the panel, should be able to see the panel.

Review URL: https://codereview.chromium.org/149493008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253794 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 253793
SVN changes up to revision 253794