cros: Makes WindowTypeLauncher take a callback for showing views examples

Desktop / Chromium - sky [chromium.org] - 17 April 2017 18:33 EDT

This way WindowTypeLauncher can be used with or without content. I'm doing this so I can create a service like ash_shell_with_content without content.

BUG=none TEST=none R=jamescook@chromium.org

Review-Url: https://codereview.chromium.org/2821023003 Cr-Commit-Position: refs/heads/master@{#465044}

08c09e6 cros: Makes WindowTypeLauncher take a callback for showing views examples
ash/BUILD.gn | 5 +++--
ash/shell/content/client/shell_browser_main_parts.cc | 8 ++++++--
ash/shell/window_type_launcher.cc | 20 +++++++++-----------
ash/shell/window_type_launcher.h | 11 ++++++++++-
4 files changed, 28 insertions(+), 16 deletions(-)

Upstream: git.chromium.org


  • Share