WebUI: Replace remaining usages of paper-dropdown-menu with md-select |
|||||
Issue descriptionAt [1] paper-dropdown-menu usage was replaced with a native <select> styled to look MD as much as possible [2], which is currently used by MD Settings and OOBE. Unfortunately there are still some usages of paper-dropdown-menu laying around in other WebUI pages. Specifically the following files still use it: chromeos/emulator/battery_settings.html md_extensions/keyboard_shortcuts.html md_user_manager/create_profile.html We should migrate those to md-select and eventually remove paper-dropdown-menu from third_party/polymer. [1] https://bugs.chromium.org/p/chromium/issues/detail?id=651513 [2] https://cs.chromium.org/chromium/src/ui/webui/resources/html/md_select_css.html [3] https://cs.chromium.org/search/?q=paper-dropdown-menu+file:%5Esrc/chrome/browser/resources/+package:%5Echromium$&type=cs
,
Jun 10 2017
I think I found the answer about device-emulator. It is used on non-official ChromeOS builds, if I am interpreting correctly the following code https://cs.chromium.org/chromium/src/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc?type=cs&q=kChromeUIDeviceEmulatorHost&sq=package:chromium&l=494.
,
Jun 10 2017
,
Jun 10 2017
We should keep chrome://device-emulator around. Although feel free to make it uglier if it's the only user of some particular eye candy. It works only on Chrome-OS-on-Linux and is compiled out of official builds. It's intended to emulate device settings when you're not on a device, letting us test features like power supplies, pointer settings, etc.
,
Jun 10 2017
Thanks. I was able to run it locally, looks suprisingly MD-ified for a developer only page).
,
Jun 10 2017
Issue 652576 has been merged into this issue.
,
Jun 14 2017
,
Jun 20 2017
,
Jun 20 2017
Are you planning to remove all the unused Polymer elements (paper-dropdown-menu, paper-menu-button, see comment #1)? Maybe let's keep this bug open to track the removal too, or file a separate one. FWIW, I am happy to delete the unused stuff if you are busy with other issues.
,
Jun 21 2017
FYI, filed issue 735585 to track remaining work. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by dpa...@chromium.org
, Jun 10 2017