• James Cook's avatar
    cros: Centralize Widget setup for ash containers · e05cbb9b
    James Cook authored
    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: default avatarMichael Wasserman <msw@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#548875}
    e05cbb9b
chrome_web_dialog_view.cc 2.34 KB