DescriptionConvert chrome://policy to new WebUI style
This CL converts the chrome://policy page to the new WebUI style. The page
reuses as much CSS/JS from the überpage as possible to ensure consistency.
The CL also improves the page in many ways:
* Proper separation of policy value aggregation (C++) and
presentation (WebUI)
* Better handling of policy values that overflow the available space
(an extra table row can be toggled that shows the whole value)
* New PolicyUIHandler backend that will be shared with the imminent more
user-friendly chrome://policy page (see bug 134849).
* Removal of dependency on JS templating engine with its copious use of
eval().
* New browser test that verifies policy definitions and values are sent
from the C++ backend to the WebUI and processed there correctly.
TEST=browser_tests and manual
BUG=chromium-os:26628
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180684
Patch Set 1 #Patch Set 2 : Add accidentally removed string that shows when no policies have been set. #Patch Set 3 : Move string to the correct position. #
Total comments: 27
Patch Set 4 : Comments addressed. Merged PolicyUIHandlerBase into PolicyUIHandler. Strings updated. #Patch Set 5 : Update test name. #
Total comments: 4
Patch Set 6 : Nits addressed. #Patch Set 7 : Removed tag names from CSS selectors that unambiguously match on id anyway. #
Total comments: 8
Patch Set 8 : Nits addressed. #Patch Set 9 : Updated browser test after rebase. #Patch Set 10 : Rebased. #
Messages
Total messages: 16 (0 generated)
|