cros: Centralize Widget setup for ash containers
Widget::InitParams setup is different in classic ash vs. mash. Centralize the boilerplate code. This eliminates some ash/shell.h includes, making it clearer that there's only one issue here. It also reduces the chance of weird compiler errors if you copy/paste the boilerplate but forget the type converters header. Bug: 756057 Test: browser_tests Change-Id: I3f1c76f2b174ef305697f8551a6923534a73dbaf Reviewed-on: https://chromium-review.googlesource.com/999813 Commit-Queue: James Cook <jamescook@chromium.org> Reviewed-by:Michael Wasserman <msw@chromium.org> Cr-Commit-Position: refs/heads/master@{#548875}
Showing
Please register or sign in to comment