DescriptionStandalone Mojo Javascript application
Refactored the JSApp et al classes to enable launching apps with the content launcher (as before) as well as launching a single standalone JS app.
The content handler class has been moved to its own file. The part of the JSApp Start() method that loads the initial script is now an abstract method called Load(). There are content handler and standalone versions of JSApp::Load().
The code that's specific to the standalone case is now in standalone_main.cc. The code that's specific to the content handler case is in content_handler_main.cc and content_handler_impl.{h,cc}.
Currently the standalone app's filename is wired into standalone_main.cc. Once crbug.com/418797 has been fixed the filename can be passed through mojo_shell.
BUG=417530
Committed: https://crrev.com/06c28d7358731ae3a7788656a7c7468b813a4b3e
Cr-Commit-Position: refs/heads/master@{#297675}
Patch Set 1 : Standalone Mojo application #
Total comments: 12
Patch Set 2 : Reorganized includes etc per review feedback #Patch Set 3 : Fixed the GN build #
Total comments: 1
Messages
Total messages: 17 (6 generated)
|