Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
michael@0 | 1 | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
michael@0 | 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 5 | |
michael@0 | 6 | /****** |
michael@0 | 7 | |
michael@0 | 8 | This file contains the list of all named colors |
michael@0 | 9 | See nsCSSColorNames.h for access to the enum values for colors |
michael@0 | 10 | |
michael@0 | 11 | It is designed to be used as inline input to nsCSSColorNames.cpp *only* |
michael@0 | 12 | through the magic of C preprocessing. |
michael@0 | 13 | |
michael@0 | 14 | All entries must be enclosed in the macro GFX_COLOR which will have cruel |
michael@0 | 15 | and unusual things done to it |
michael@0 | 16 | |
michael@0 | 17 | It is recommended (but not strictly necessary) to keep all entries |
michael@0 | 18 | in alphabetical order |
michael@0 | 19 | |
michael@0 | 20 | The first argument to GFX_COLOR is both the enum identifier of the color |
michael@0 | 21 | and the string value |
michael@0 | 22 | The second argument is the sRGBA value for the named color |
michael@0 | 23 | |
michael@0 | 24 | 'name' entries *must* use only lowercase characters. |
michael@0 | 25 | |
michael@0 | 26 | ** Break these invarient and bad things will happen. ** |
michael@0 | 27 | |
michael@0 | 28 | |
michael@0 | 29 | ******/ |
michael@0 | 30 | |
michael@0 | 31 | |
michael@0 | 32 | GFX_COLOR(aliceblue, NS_RGB(240, 248, 255)) |
michael@0 | 33 | GFX_COLOR(antiquewhite, NS_RGB(250, 235, 215)) |
michael@0 | 34 | GFX_COLOR(aqua, NS_RGB( 0, 255, 255)) |
michael@0 | 35 | GFX_COLOR(aquamarine, NS_RGB(127, 255, 212)) |
michael@0 | 36 | GFX_COLOR(azure, NS_RGB(240, 255, 255)) |
michael@0 | 37 | GFX_COLOR(beige, NS_RGB(245, 245, 220)) |
michael@0 | 38 | GFX_COLOR(bisque, NS_RGB(255, 228, 196)) |
michael@0 | 39 | GFX_COLOR(black, NS_RGB( 0, 0, 0)) |
michael@0 | 40 | GFX_COLOR(blanchedalmond, NS_RGB(255, 235, 205)) |
michael@0 | 41 | GFX_COLOR(blue, NS_RGB( 0, 0, 255)) |
michael@0 | 42 | GFX_COLOR(blueviolet, NS_RGB(138, 43, 226)) |
michael@0 | 43 | GFX_COLOR(brown, NS_RGB(165, 42, 42)) |
michael@0 | 44 | GFX_COLOR(burlywood, NS_RGB(222, 184, 135)) |
michael@0 | 45 | GFX_COLOR(cadetblue, NS_RGB( 95, 158, 160)) |
michael@0 | 46 | GFX_COLOR(chartreuse, NS_RGB(127, 255, 0)) |
michael@0 | 47 | GFX_COLOR(chocolate, NS_RGB(210, 105, 30)) |
michael@0 | 48 | GFX_COLOR(coral, NS_RGB(255, 127, 80)) |
michael@0 | 49 | GFX_COLOR(cornflowerblue, NS_RGB(100, 149, 237)) |
michael@0 | 50 | GFX_COLOR(cornsilk, NS_RGB(255, 248, 220)) |
michael@0 | 51 | GFX_COLOR(crimson, NS_RGB(220, 20, 60)) |
michael@0 | 52 | GFX_COLOR(cyan, NS_RGB( 0, 255, 255)) |
michael@0 | 53 | GFX_COLOR(darkblue, NS_RGB( 0, 0, 139)) |
michael@0 | 54 | GFX_COLOR(darkcyan, NS_RGB( 0, 139, 139)) |
michael@0 | 55 | GFX_COLOR(darkgoldenrod, NS_RGB(184, 134, 11)) |
michael@0 | 56 | GFX_COLOR(darkgray, NS_RGB(169, 169, 169)) |
michael@0 | 57 | GFX_COLOR(darkgreen, NS_RGB( 0, 100, 0)) |
michael@0 | 58 | GFX_COLOR(darkgrey, NS_RGB(169, 169, 169)) |
michael@0 | 59 | GFX_COLOR(darkkhaki, NS_RGB(189, 183, 107)) |
michael@0 | 60 | GFX_COLOR(darkmagenta, NS_RGB(139, 0, 139)) |
michael@0 | 61 | GFX_COLOR(darkolivegreen, NS_RGB( 85, 107, 47)) |
michael@0 | 62 | GFX_COLOR(darkorange, NS_RGB(255, 140, 0)) |
michael@0 | 63 | GFX_COLOR(darkorchid, NS_RGB(153, 50, 204)) |
michael@0 | 64 | GFX_COLOR(darkred, NS_RGB(139, 0, 0)) |
michael@0 | 65 | GFX_COLOR(darksalmon, NS_RGB(233, 150, 122)) |
michael@0 | 66 | GFX_COLOR(darkseagreen, NS_RGB(143, 188, 143)) |
michael@0 | 67 | GFX_COLOR(darkslateblue, NS_RGB( 72, 61, 139)) |
michael@0 | 68 | GFX_COLOR(darkslategray, NS_RGB( 47, 79, 79)) |
michael@0 | 69 | GFX_COLOR(darkslategrey, NS_RGB( 47, 79, 79)) |
michael@0 | 70 | GFX_COLOR(darkturquoise, NS_RGB( 0, 206, 209)) |
michael@0 | 71 | GFX_COLOR(darkviolet, NS_RGB(148, 0, 211)) |
michael@0 | 72 | GFX_COLOR(deeppink, NS_RGB(255, 20, 147)) |
michael@0 | 73 | GFX_COLOR(deepskyblue, NS_RGB( 0, 191, 255)) |
michael@0 | 74 | GFX_COLOR(dimgray, NS_RGB(105, 105, 105)) |
michael@0 | 75 | GFX_COLOR(dimgrey, NS_RGB(105, 105, 105)) |
michael@0 | 76 | GFX_COLOR(dodgerblue, NS_RGB( 30, 144, 255)) |
michael@0 | 77 | GFX_COLOR(firebrick, NS_RGB(178, 34, 34)) |
michael@0 | 78 | GFX_COLOR(floralwhite, NS_RGB(255, 250, 240)) |
michael@0 | 79 | GFX_COLOR(forestgreen, NS_RGB( 34, 139, 34)) |
michael@0 | 80 | GFX_COLOR(fuchsia, NS_RGB(255, 0, 255)) |
michael@0 | 81 | GFX_COLOR(gainsboro, NS_RGB(220, 220, 220)) |
michael@0 | 82 | GFX_COLOR(ghostwhite, NS_RGB(248, 248, 255)) |
michael@0 | 83 | GFX_COLOR(gold, NS_RGB(255, 215, 0)) |
michael@0 | 84 | GFX_COLOR(goldenrod, NS_RGB(218, 165, 32)) |
michael@0 | 85 | GFX_COLOR(gray, NS_RGB(128, 128, 128)) |
michael@0 | 86 | GFX_COLOR(grey, NS_RGB(128, 128, 128)) |
michael@0 | 87 | GFX_COLOR(green, NS_RGB( 0, 128, 0)) |
michael@0 | 88 | GFX_COLOR(greenyellow, NS_RGB(173, 255, 47)) |
michael@0 | 89 | GFX_COLOR(honeydew, NS_RGB(240, 255, 240)) |
michael@0 | 90 | GFX_COLOR(hotpink, NS_RGB(255, 105, 180)) |
michael@0 | 91 | GFX_COLOR(indianred, NS_RGB(205, 92, 92)) |
michael@0 | 92 | GFX_COLOR(indigo, NS_RGB( 75, 0, 130)) |
michael@0 | 93 | GFX_COLOR(ivory, NS_RGB(255, 255, 240)) |
michael@0 | 94 | GFX_COLOR(khaki, NS_RGB(240, 230, 140)) |
michael@0 | 95 | GFX_COLOR(lavender, NS_RGB(230, 230, 250)) |
michael@0 | 96 | GFX_COLOR(lavenderblush, NS_RGB(255, 240, 245)) |
michael@0 | 97 | GFX_COLOR(lawngreen, NS_RGB(124, 252, 0)) |
michael@0 | 98 | GFX_COLOR(lemonchiffon, NS_RGB(255, 250, 205)) |
michael@0 | 99 | GFX_COLOR(lightblue, NS_RGB(173, 216, 230)) |
michael@0 | 100 | GFX_COLOR(lightcoral, NS_RGB(240, 128, 128)) |
michael@0 | 101 | GFX_COLOR(lightcyan, NS_RGB(224, 255, 255)) |
michael@0 | 102 | GFX_COLOR(lightgoldenrodyellow, NS_RGB(250, 250, 210)) |
michael@0 | 103 | GFX_COLOR(lightgray, NS_RGB(211, 211, 211)) |
michael@0 | 104 | GFX_COLOR(lightgreen, NS_RGB(144, 238, 144)) |
michael@0 | 105 | GFX_COLOR(lightgrey, NS_RGB(211, 211, 211)) |
michael@0 | 106 | GFX_COLOR(lightpink, NS_RGB(255, 182, 193)) |
michael@0 | 107 | GFX_COLOR(lightsalmon, NS_RGB(255, 160, 122)) |
michael@0 | 108 | GFX_COLOR(lightseagreen, NS_RGB( 32, 178, 170)) |
michael@0 | 109 | GFX_COLOR(lightskyblue, NS_RGB(135, 206, 250)) |
michael@0 | 110 | GFX_COLOR(lightslategray, NS_RGB(119, 136, 153)) |
michael@0 | 111 | GFX_COLOR(lightslategrey, NS_RGB(119, 136, 153)) |
michael@0 | 112 | GFX_COLOR(lightsteelblue, NS_RGB(176, 196, 222)) |
michael@0 | 113 | GFX_COLOR(lightyellow, NS_RGB(255, 255, 224)) |
michael@0 | 114 | GFX_COLOR(lime, NS_RGB( 0, 255, 0)) |
michael@0 | 115 | GFX_COLOR(limegreen, NS_RGB( 50, 205, 50)) |
michael@0 | 116 | GFX_COLOR(linen, NS_RGB(250, 240, 230)) |
michael@0 | 117 | GFX_COLOR(magenta, NS_RGB(255, 0, 255)) |
michael@0 | 118 | GFX_COLOR(maroon, NS_RGB(128, 0, 0)) |
michael@0 | 119 | GFX_COLOR(mediumaquamarine, NS_RGB(102, 205, 170)) |
michael@0 | 120 | GFX_COLOR(mediumblue, NS_RGB( 0, 0, 205)) |
michael@0 | 121 | GFX_COLOR(mediumorchid, NS_RGB(186, 85, 211)) |
michael@0 | 122 | GFX_COLOR(mediumpurple, NS_RGB(147, 112, 219)) |
michael@0 | 123 | GFX_COLOR(mediumseagreen, NS_RGB( 60, 179, 113)) |
michael@0 | 124 | GFX_COLOR(mediumslateblue, NS_RGB(123, 104, 238)) |
michael@0 | 125 | GFX_COLOR(mediumspringgreen, NS_RGB( 0, 250, 154)) |
michael@0 | 126 | GFX_COLOR(mediumturquoise, NS_RGB( 72, 209, 204)) |
michael@0 | 127 | GFX_COLOR(mediumvioletred, NS_RGB(199, 21, 133)) |
michael@0 | 128 | GFX_COLOR(midnightblue, NS_RGB( 25, 25, 112)) |
michael@0 | 129 | GFX_COLOR(mintcream, NS_RGB(245, 255, 250)) |
michael@0 | 130 | GFX_COLOR(mistyrose, NS_RGB(255, 228, 225)) |
michael@0 | 131 | GFX_COLOR(moccasin, NS_RGB(255, 228, 181)) |
michael@0 | 132 | GFX_COLOR(navajowhite, NS_RGB(255, 222, 173)) |
michael@0 | 133 | GFX_COLOR(navy, NS_RGB( 0, 0, 128)) |
michael@0 | 134 | GFX_COLOR(oldlace, NS_RGB(253, 245, 230)) |
michael@0 | 135 | GFX_COLOR(olive, NS_RGB(128, 128, 0)) |
michael@0 | 136 | GFX_COLOR(olivedrab, NS_RGB(107, 142, 35)) |
michael@0 | 137 | GFX_COLOR(orange, NS_RGB(255, 165, 0)) |
michael@0 | 138 | GFX_COLOR(orangered, NS_RGB(255, 69, 0)) |
michael@0 | 139 | GFX_COLOR(orchid, NS_RGB(218, 112, 214)) |
michael@0 | 140 | GFX_COLOR(palegoldenrod, NS_RGB(238, 232, 170)) |
michael@0 | 141 | GFX_COLOR(palegreen, NS_RGB(152, 251, 152)) |
michael@0 | 142 | GFX_COLOR(paleturquoise, NS_RGB(175, 238, 238)) |
michael@0 | 143 | GFX_COLOR(palevioletred, NS_RGB(219, 112, 147)) |
michael@0 | 144 | GFX_COLOR(papayawhip, NS_RGB(255, 239, 213)) |
michael@0 | 145 | GFX_COLOR(peachpuff, NS_RGB(255, 218, 185)) |
michael@0 | 146 | GFX_COLOR(peru, NS_RGB(205, 133, 63)) |
michael@0 | 147 | GFX_COLOR(pink, NS_RGB(255, 192, 203)) |
michael@0 | 148 | GFX_COLOR(plum, NS_RGB(221, 160, 221)) |
michael@0 | 149 | GFX_COLOR(powderblue, NS_RGB(176, 224, 230)) |
michael@0 | 150 | GFX_COLOR(purple, NS_RGB(128, 0, 128)) |
michael@0 | 151 | GFX_COLOR(red, NS_RGB(255, 0, 0)) |
michael@0 | 152 | GFX_COLOR(rosybrown, NS_RGB(188, 143, 143)) |
michael@0 | 153 | GFX_COLOR(royalblue, NS_RGB( 65, 105, 225)) |
michael@0 | 154 | GFX_COLOR(saddlebrown, NS_RGB(139, 69, 19)) |
michael@0 | 155 | GFX_COLOR(salmon, NS_RGB(250, 128, 114)) |
michael@0 | 156 | GFX_COLOR(sandybrown, NS_RGB(244, 164, 96)) |
michael@0 | 157 | GFX_COLOR(seagreen, NS_RGB( 46, 139, 87)) |
michael@0 | 158 | GFX_COLOR(seashell, NS_RGB(255, 245, 238)) |
michael@0 | 159 | GFX_COLOR(sienna, NS_RGB(160, 82, 45)) |
michael@0 | 160 | GFX_COLOR(silver, NS_RGB(192, 192, 192)) |
michael@0 | 161 | GFX_COLOR(skyblue, NS_RGB(135, 206, 235)) |
michael@0 | 162 | GFX_COLOR(slateblue, NS_RGB(106, 90, 205)) |
michael@0 | 163 | GFX_COLOR(slategray, NS_RGB(112, 128, 144)) |
michael@0 | 164 | GFX_COLOR(slategrey, NS_RGB(112, 128, 144)) |
michael@0 | 165 | GFX_COLOR(snow, NS_RGB(255, 250, 250)) |
michael@0 | 166 | GFX_COLOR(springgreen, NS_RGB( 0, 255, 127)) |
michael@0 | 167 | GFX_COLOR(steelblue, NS_RGB( 70, 130, 180)) |
michael@0 | 168 | GFX_COLOR(tan, NS_RGB(210, 180, 140)) |
michael@0 | 169 | GFX_COLOR(teal, NS_RGB( 0, 128, 128)) |
michael@0 | 170 | GFX_COLOR(thistle, NS_RGB(216, 191, 216)) |
michael@0 | 171 | GFX_COLOR(tomato, NS_RGB(255, 99, 71)) |
michael@0 | 172 | GFX_COLOR(transparent, NS_RGBA(0, 0, 0, 0)) |
michael@0 | 173 | GFX_COLOR(turquoise, NS_RGB( 64, 224, 208)) |
michael@0 | 174 | GFX_COLOR(violet, NS_RGB(238, 130, 238)) |
michael@0 | 175 | GFX_COLOR(wheat, NS_RGB(245, 222, 179)) |
michael@0 | 176 | GFX_COLOR(white, NS_RGB(255, 255, 255)) |
michael@0 | 177 | GFX_COLOR(whitesmoke, NS_RGB(245, 245, 245)) |
michael@0 | 178 | GFX_COLOR(yellow, NS_RGB(255, 255, 0)) |
michael@0 | 179 | GFX_COLOR(yellowgreen, NS_RGB(154, 205, 50)) |
michael@0 | 180 |