docs: add native_mate to source code directory structure doc (#13457)

This commit is contained in:
trop[bot] 2018-06-27 18:28:13 +10:00 committed by Samuel Attard
parent 509120acde
commit ec993214a2

View file

@ -14,7 +14,8 @@ Electron
├── atom/ - C++ source code. ├── atom/ - C++ source code.
| ├── app/ - System entry code. | ├── app/ - System entry code.
| ├── browser/ - The frontend including the main window, UI, and all of the | ├── browser/ - The frontend including the main window, UI, and all of the
| | main process things. This talks to the renderer to manage web pages. | | | main process things. This talks to the renderer to manage web
| | | pages.
| | ├── ui/ - Implementation of UI stuff for different platforms. | | ├── ui/ - Implementation of UI stuff for different platforms.
| | | ├── cocoa/ - Cocoa specific source code. | | | ├── cocoa/ - Cocoa specific source code.
| | | ├── win/ - Windows GUI specific source code. | | | ├── win/ - Windows GUI specific source code.
@ -26,8 +27,8 @@ Electron
| ├── renderer/ - Code that runs in renderer process. | ├── renderer/ - Code that runs in renderer process.
| | └── api/ - The implementation of renderer process APIs. | | └── api/ - The implementation of renderer process APIs.
| └── common/ - Code that used by both the main and renderer processes, | └── common/ - Code that used by both the main and renderer processes,
| including some utility functions and code to integrate node's message | | including some utility functions and code to integrate node's
| loop into Chromium's message loop. | | message loop into Chromium's message loop.
| └── api/ - The implementation of common APIs, and foundations of | └── api/ - The implementation of common APIs, and foundations of
| Electron's built-in modules. | Electron's built-in modules.
├── brightray/ - Thin shim over libcc that makes it easier to use. ├── brightray/ - Thin shim over libcc that makes it easier to use.
@ -42,6 +43,8 @@ Electron
| | └── api/ - Javascript API implementation. | | └── api/ - Javascript API implementation.
| └── renderer/ - Javascript renderer process initialization code. | └── renderer/ - Javascript renderer process initialization code.
| └── api/ - Javascript API implementation. | └── api/ - Javascript API implementation.
├── native_mate/ - A fork of Chromium's gin library that makes it easier to marshal
| types between C++ and JavaScript.
├── spec/ - Automatic tests. ├── spec/ - Automatic tests.
├── electron.gyp - Building rules of Electron. ├── electron.gyp - Building rules of Electron.
└── common.gypi - Compiler specific settings and building rules for other └── common.gypi - Compiler specific settings and building rules for other