OLD | NEW |
1 # Chromium coding style | 1 # Chromium coding style |
2 | 2 |
3 ## Main style guides | 3 ## Main style guides |
4 | 4 |
5 * [Chromium C++ style guide](c++/c++.md) | 5 * [Chromium C++ style guide](c++/c++.md) |
6 * [Google Objective-C style guide](https://google.github.io/styleguide/objcgui
de.xml) | 6 * [Google Objective-C style guide](https://google.github.io/styleguide/objcgui
de.xml) |
7 * [Java style guide for Android](https://sites.google.com/a/chromium.org/dev/d
evelopers/coding-style/java) | 7 * [Java style guide for Android](java/java.md) |
8 * [GN style guide](../tools/gn/docs/style_guide.md) for build files | 8 * [GN style guide](../tools/gn/docs/style_guide.md) for build files |
9 | 9 |
10 Chromium also uses these languages to a lesser degree: | 10 Chromium also uses these languages to a lesser degree: |
11 | 11 |
12 * [Kernel C style](https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux
.git/tree/Documentation/CodingStyle?id=refs/heads/master) for ChromiumOS firmwar
e. | 12 * [Kernel C style](https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux
.git/tree/Documentation/CodingStyle?id=refs/heads/master) for ChromiumOS firmwar
e. |
13 * [IDL](https://sites.google.com/a/chromium.org/dev/blink/webidl#TOC-Style) | 13 * [IDL](https://sites.google.com/a/chromium.org/dev/blink/webidl#TOC-Style) |
14 * [Jinja style guide](https://sites.google.com/a/chromium.org/dev/developers/j
inja#TOC-Style) for [Jinja](https://sites.google.com/a/chromium.org/dev/develope
rs/jinja) templates. | 14 * [Jinja style guide](https://sites.google.com/a/chromium.org/dev/developers/j
inja#TOC-Style) for [Jinja](https://sites.google.com/a/chromium.org/dev/develope
rs/jinja) templates. |
15 | 15 |
16 ## Python | 16 ## Python |
17 | 17 |
(...skipping 17 matching lines...) Expand all Loading... |
35 Effectively](https://wiki.python.org/moin/UsingAssertionsEffectively). | 35 Effectively](https://wiki.python.org/moin/UsingAssertionsEffectively). |
36 | 36 |
37 See also the [Chromium OS Python Style | 37 See also the [Chromium OS Python Style |
38 Guidelines](https://sites.google.com/a/chromium.org/dev/chromium-os/python-style
-guidelines). | 38 Guidelines](https://sites.google.com/a/chromium.org/dev/chromium-os/python-style
-guidelines). |
39 | 39 |
40 ## Web languages (JavaScript, HTML, CSS) | 40 ## Web languages (JavaScript, HTML, CSS) |
41 | 41 |
42 When working on Web-based UI features, consult the [Web Development Style Guide]
(https://sites.google.com/a/chromium.org/dev/developers/web-development-style-gu
ide) for the Chromium conventions used in JS/CSS/HTML files. | 42 When working on Web-based UI features, consult the [Web Development Style Guide]
(https://sites.google.com/a/chromium.org/dev/developers/web-development-style-gu
ide) for the Chromium conventions used in JS/CSS/HTML files. |
43 | 43 |
44 Internal uses of web languages, notably "layout" tests, should preferably follow
these style guides, but it is not enforced. | 44 Internal uses of web languages, notably "layout" tests, should preferably follow
these style guides, but it is not enforced. |
OLD | NEW |