This updates the StaticIP configuration UI to match new mocks.
Splits out the IP routing parameters (address, netmask, gateway) from
the name server parameter, so that we can override just the name
servers or the routing parameters, and get the other one from DHCP.
Also adds a new widget class: EditableTextField, that allows a static
display value when not editable, and an edit field when editable, with
the ability to do validation and has a model that can be reverted.
This new class is used for the basis of an IP Address input field that
does correct IP address validation.
Also, the new StaticIP dialog now sets/gets the shill properties for
static IP instead of setting IPConfig objects (which isn't supported by
shill), which should fix manual static IP configuration.
BUG=
chromium:129052
TEST=Ran on device and tested StaticIP configuration, ran some unit tests.
Committed:
http://src.chromium.org/viewvc/chrome?view=rev&revision=151600