Password manager: Fix focus issue with show/hide button.

Instead of updating the model when revealing a password, which causes
the UI to flash as well as causing the button to lose focus, simply
update the DOM element directly. This is probably the right thing to
do anyways, otherwise a password that was revealed once would remain
accessible in the DOM as long as the tab remains open, which is not
what we want.

BUG=315491,309553
R=bauerb@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233594 0039d316-1c4b-4281-b951-d872f2087c98
Generate the Chrome policy schema at compile time.

The schema describes the expected types of the known Chrome policies, so that
they can be properly loaded at runtime from the platform policy services.

The Chrome schema is represented by static structures that are generated at
compile time, so that no parsing is required at runtime. This is important
because the schema is always created to load the initial policy during startup.

Also updated the policy::internal:: schema structures to avoid unnecessary
relocations at load time.

BUG=270667
R=dconnelly@chromium.org, pastarmovj@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233595 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 233594
SVN changes up to revision 233595
Make the internal storage policy::Schemas ref counted.

The policy Schemas are used to represent the expected data types of policy
values. Making their internal storage refcounted will allow passing them to background threads
that use them to validate data being loaded, while the UI thread may be
concurrently loading a new Schema for the same component.

This change makes Schema directly reference the InternalStorage struct, so that
SchemaOwner is not necessary anymore.

BUG=270667
R=dconnelly@chromium.org, kalman@chromium.org

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

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