[ermine] Kill components when their view is closed.

This change uses the ComponentController to kill the component
whose view was closed by the user. It also handles the case of
component getting terminated by external means, ex:
  fx shell killall terminal.cmx

Bug: 47059
Test: New unittest for ermine_story to test delete and terminate.
  - Manual verify that terminal instance is not included in ps
after the user closes the view.

Change-Id: I106469bbd90f4a08b56f47c3d7b53362e37fd2eb
11 files changed
tree: a10b65f90e3991a04e9f1d48a4324d655162b6c9
  1. base_shells/
  2. benchmarks/
  3. bin/
  4. examples/
  5. lib/
  6. session_shells/
  7. settings/
  8. story_shells/
  9. tests/
  10. .gitignore
  11. analysis_options.yaml
  12. AUTHORS
  13. BUILD.gn
  14. CONTRIBUTING.md
  15. LICENSE
  16. OWNERS
  17. PATENTS
  18. README.md
README.md

Fuchsia Open Source Template Repository

This repository is a template that we will use when creating new open source repositories for Fuchsia.