diff --git a/mojo/public/cpp/bindings/README.md b/mojo/public/cpp/bindings/README.md index a98708ef448fb8..92e79fe6a6aac8 100644 --- a/mojo/public/cpp/bindings/README.md +++ b/mojo/public/cpp/bindings/README.md @@ -469,7 +469,7 @@ module business.mojom; enum Department { kEngineering, - kMarketng, + kMarketing, kSales, }; ``` @@ -1311,6 +1311,7 @@ class StructTraits Generated `ReadFoo` methods always convert `multi_word_field_name` fields to `ReadMultiWordFieldName` methods. + ### Variants By now you may have noticed that additional C++ sources are generated when a @@ -1360,8 +1361,8 @@ out/gen/sample/db.mojom-shared-internal.h ``` Including either variant's header (`db.mojom.h` or `db.mojom-blink.h`) -implicitly includes the shared header, but you have on some occasions wish to -include *only* the shared header in some instances. +implicitly includes the shared header, but may wish to include *only* the shared +header in some instances. Finally, note that for `mojom` GN targets, there is implicitly a corresponding `mojom_{variant}` target defined for any supported bindings configuration. So diff --git a/mojo/public/tools/bindings/README.md b/mojo/public/tools/bindings/README.md index 711f3990f4b5b4..d0d6c473d7cf6a 100644 --- a/mojo/public/tools/bindings/README.md +++ b/mojo/public/tools/bindings/README.md @@ -6,7 +6,8 @@ This document is a subset of the [Mojo documentation](/mojo). ## Overview Mojom is the IDL for Mojo bindings interfaces. Given a `.mojom` file, the -[bindings generator](https://cs.chromium.org/chromium/src/mojo/public/tools/bindings) +[bindings +generator](https://cs.chromium.org/chromium/src/mojo/public/tools/bindings/) outputs bindings for all supported languages: **C++**, **JavaScript**, and **Java**.