tree: f2f369a1baf80e2114705d571f91c07ee5119a5a [path history] [tgz]
  1. browser_controller.cc
  2. browser_controller.h
  3. browser_controller_impl.cc
  4. browser_controller_impl.h
  5. browser_delegate.h
  6. browser_delegate_impl.cc
  7. browser_delegate_impl.h
  8. browser_type.h
  9. browser_type_conversion.cc
  10. browser_type_conversion.h
  11. BUILD.gn
  12. DEPS
  13. README.md
chrome/browser/ash/browser_delegate/README.md

This is an evolving abstraction of the Browser (chrome/browser/ui/browser.h) and BrowserList (chrome/browser/ui/browser_list.h) classes for use by ChromeOS feature code.

The abstraction consists of two (C++) interfaces, BrowserDelegate & BrowserController, and their implementation. Think of BrowserDelegate as an abstract version of the existing Browser class and BrowserController as a supervising entity that primarily creates or finds BrowserDelegate objects for you.

Development is incremental and in the first phase we prioritize making these classes the bottleneck for Browser access over them offering a clean API.

We aim to eventually move these interfaces out of chrome/browser/ash/ into chromeos/.