| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 'use strict'; | 5 'use strict'; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * Custom version of chrome://resources/css/tree.css.js, adding support for | 8 * Custom version of chrome://resources/css/tree.css.js, adding support for |
| 9 * inverted arrow icons. | 9 * inverted arrow icons. |
| 10 */ | 10 */ |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 ctx.lineTo(WIDTH, 0); | 50 ctx.lineTo(WIDTH, 0); |
| 51 ctx.closePath(); | 51 ctx.closePath(); |
| 52 ctx.fill(); | 52 ctx.fill(); |
| 53 ctx.stroke(); | 53 ctx.stroke(); |
| 54 } | 54 } |
| 55 | 55 |
| 56 prepareTriangle( | 56 prepareTriangle( |
| 57 'tree-triangle', 'rgba(122, 122, 122, 0.6)', 'rgba(0, 0, 0, 0)'); | 57 'tree-triangle', 'rgba(122, 122, 122, 0.6)', 'rgba(0, 0, 0, 0)'); |
| 58 prepareTriangle('tree-triangle-inverted', '#ffffff', '#ffffff'); | 58 prepareTriangle('tree-triangle-inverted', '#ffffff', '#ffffff'); |
| 59 })(); | 59 })(); |
| OLD | NEW |