[modular] Cleanup while reading the code.
* Break a few lines that were too long.
TESTED=comment change only
Change-Id: I77607f77c265d756d376425ac090b595d8b79f2a
diff --git a/public/fidl/fuchsia.modular/module/module_context.fidl b/public/fidl/fuchsia.modular/module/module_context.fidl
index 933dd15..09540cc 100644
--- a/public/fidl/fuchsia.modular/module/module_context.fidl
+++ b/public/fidl/fuchsia.modular/module/module_context.fidl
@@ -13,11 +13,13 @@
interface ModuleContext {
/// Gets a Link instance with the given name.
///
- /// The Link instance has a name so that it can be recognized when the story is
- /// resumed. The name is unique in the scope of the Module instance. If the
- /// method is called again with the same argument by the same Module instance,
- /// a new connection to the same Link instance is obtained. It's up to the
- /// Module instance to ensure the name is unique within the scope of itself.
+ /// The Link instance has a name so that it can be recognized when the story
+ /// is resumed. The name is unique in the scope of the Module instance. If
+ /// the method is called again with the same argument by the same Module
+ /// instance, a new connection to the same Link instance is obtained. It's
+ /// up to the Module instance to ensure the name is unique within the scope
+ /// of itself.
+ ///
/// TODO(thatguy): When no modules use null link names any more, make name
/// required.
1: GetLink(string? name, request<Link> link);
@@ -28,23 +30,23 @@
/// for the Module is given to the story shell for display.
///
/// Providing a [surface_relation] advises the StoryShell how to layout
- /// surfaces that the new module creates. If [surface_relation] is null then a
- /// default relation is used.
+ /// surfaces that the new module creates. If [surface_relation] is null then
+ /// a default relation is used.
///
/// If the method is called again with the same [name] by the same Module
- /// instance, but with different arguments, the existing Module instance is restarted
- /// with the changed arguments. If the other arguments don't change, just an additional
- /// ModuleController connection is made.
+ /// instance, but with different arguments, the existing Module instance is
+ /// restarted with the changed arguments. If the other arguments don't
+ /// change, just an additional ModuleController connection is made.
15: AddModuleToStory(string name, Intent intent,
request<ModuleController> module_controller,
SurfaceRelation? surface_relation)
-> (StartModuleStatus status);
- /// Like AddModuleToStory(), but requests a [view_owner] explicitly to embed the
- /// view of the requested Module instance in the view of the requesting Module
- /// instance, instead of relying on the story shell for display. If a Module
- /// instance with the same [name] and [intent] is already running, [view_owner]
- /// is just closed.
+ /// Like AddModuleToStory(), but requests a [view_owner] explicitly to embed
+ /// the view of the requested Module instance in the view of the requesting
+ /// Module instance, instead of relying on the story shell for display. If a
+ /// Module instance with the same [name] and [intent] is already running,
+ /// [view_owner] is just closed.
3: EmbedModule(string name, Intent intent,
request<ModuleController> module_controller,
request<fuchsia.ui.viewsv1token.ViewOwner> view_owner)