| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 /** | 5 /** |
| 6 * @constructor | 6 * @constructor |
| 7 * @extends {HTMLSpanElement} | 7 * @extends {HTMLSpanElement} |
| 8 */ | 8 */ |
| 9 UI.Icon = class extends HTMLSpanElement { | 9 UI.Icon = class extends HTMLSpanElement { |
| 10 constructor() { | 10 constructor() { |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 'smallicon-step-in': {x: -100, y: -20, width: 10, height: 10, spritesheet: 'sm
allicons'}, | 97 'smallicon-step-in': {x: -100, y: -20, width: 10, height: 10, spritesheet: 'sm
allicons'}, |
| 98 'smallicon-step-out': {x: 0, y: 0, width: 10, height: 10, spritesheet: 'smalli
cons'}, | 98 'smallicon-step-out': {x: 0, y: 0, width: 10, height: 10, spritesheet: 'smalli
cons'}, |
| 99 'smallicon-thick-right-arrow': {x: -180, y: 0, width: 10, height: 10, spritesh
eet: 'smallicons'}, | 99 'smallicon-thick-right-arrow': {x: -180, y: 0, width: 10, height: 10, spritesh
eet: 'smallicons'}, |
| 100 'smallicon-thick-left-arrow': {x: -180, y: -20, width: 10, height: 10, sprites
heet: 'smallicons'}, | 100 'smallicon-thick-left-arrow': {x: -180, y: -20, width: 10, height: 10, sprites
heet: 'smallicons'}, |
| 101 'smallicon-user-command': {x: 0, y: -19, width: 10, height: 10, spritesheet: '
smallicons'}, | 101 'smallicon-user-command': {x: 0, y: -19, width: 10, height: 10, spritesheet: '
smallicons'}, |
| 102 'smallicon-text-prompt': {x: -20, y: -20, width: 10, height: 10, spritesheet:
'smallicons'}, | 102 'smallicon-text-prompt': {x: -20, y: -20, width: 10, height: 10, spritesheet:
'smallicons'}, |
| 103 'smallicon-command-result': {x: -40, y: -19, width: 10, height: 10, spriteshee
t: 'smallicons'}, | 103 'smallicon-command-result': {x: -40, y: -19, width: 10, height: 10, spriteshee
t: 'smallicons'}, |
| 104 'smallicon-shadow': {x: -60, y: -20, width: 10, height: 10, spritesheet: 'smal
licons', isMask: true}, | 104 'smallicon-shadow': {x: -60, y: -20, width: 10, height: 10, spritesheet: 'smal
licons', isMask: true}, |
| 105 'smallicon-bezier': {x: -80, y: -20, width: 10, height: 10, spritesheet: 'smal
licons', isMask: true}, | 105 'smallicon-bezier': {x: -80, y: -20, width: 10, height: 10, spritesheet: 'smal
licons', isMask: true}, |
| 106 'smallicon-dropdown-arrow': {x: -18, y: -96, width: 12, height: 12, spriteshee
t: 'largeicons', isMask: true}, | 106 'smallicon-dropdown-arrow': {x: -18, y: -96, width: 12, height: 12, spriteshee
t: 'largeicons', isMask: true}, |
| 107 'smallicon-triangle-right': {x: -4, y: -98, width: 10, height: 8, spritesheet:
'largeicons', isMask: true}, | 107 'smallicon-triangle-right': {x: -4, y: -98, width: 10, height: 10, spritesheet
: 'largeicons', isMask: true}, |
| 108 'smallicon-triangle-down': {x: -20, y: -98, width: 10, height: 8, spritesheet:
'largeicons', isMask: true}, | 108 'smallicon-triangle-down': {x: -20, y: -98, width: 10, height: 10, spritesheet
: 'largeicons', isMask: true}, |
| 109 'smallicon-triangle-up': {x: -4, y: -111, width: 10, height: 8, spritesheet: '
largeicons', isMask: true}, | 109 'smallicon-triangle-up': {x: -4, y: -111, width: 10, height: 10, spritesheet:
'largeicons', isMask: true}, |
| 110 'smallicon-arrow-in-circle': {x: -10, y: -127, width: 11, height: 11, spritesh
eet: 'largeicons', isMask: true}, | 110 'smallicon-arrow-in-circle': {x: -10, y: -127, width: 11, height: 11, spritesh
eet: 'largeicons', isMask: true}, |
| 111 'smallicon-cross': {x: -177, y: -98, width: 9, height: 9, spritesheet: 'largei
cons'}, | 111 'smallicon-cross': {x: -177, y: -98, width: 10, height: 10, spritesheet: 'larg
eicons'}, |
| 112 'smallicon-red-cross-hover': {x: -96, y: -96, width: 14, height: 14, spriteshe
et: 'largeicons'}, | 112 'smallicon-red-cross-hover': {x: -96, y: -96, width: 14, height: 14, spriteshe
et: 'largeicons'}, |
| 113 'smallicon-red-cross-active': {x: -111, y: -96, width: 14, height: 14, sprites
heet: 'largeicons'}, | 113 'smallicon-red-cross-active': {x: -111, y: -96, width: 14, height: 14, sprites
heet: 'largeicons'}, |
| 114 'smallicon-gray-cross-hover': {x: -143, y: -96, width: 13, height: 13, sprites
heet: 'largeicons'}, | 114 'smallicon-gray-cross-hover': {x: -143, y: -96, width: 13, height: 13, sprites
heet: 'largeicons'}, |
| 115 'smallicon-gray-cross-active': {x: -160, y: -96, width: 13, height: 13, sprite
sheet: 'largeicons'}, | 115 'smallicon-gray-cross-active': {x: -160, y: -96, width: 13, height: 13, sprite
sheet: 'largeicons'}, |
| 116 | 116 |
| 117 'smallicon-inline-breakpoint': {x: -140, y: -20, width: 10, height: 10, sprite
sheet: 'smallicons'}, | 117 'smallicon-inline-breakpoint': {x: -140, y: -20, width: 10, height: 10, sprite
sheet: 'smallicons'}, |
| 118 'smallicon-inline-breakpoint-conditional': {x: -160, y: -20, width: 10, height
: 10, spritesheet: 'smallicons'}, | 118 'smallicon-inline-breakpoint-conditional': {x: -160, y: -20, width: 10, height
: 10, spritesheet: 'smallicons'}, |
| 119 'smallicon-file': {x: -64, y: -24, width: 12, height: 14, spritesheet: 'largei
cons'}, | 119 'smallicon-file': {x: -64, y: -24, width: 12, height: 14, spritesheet: 'largei
cons'}, |
| 120 'smallicon-file-sync': {x: -76, y: -24, width: 12, height: 14, spritesheet: 'l
argeicons'}, | 120 'smallicon-file-sync': {x: -76, y: -24, width: 12, height: 14, spritesheet: 'l
argeicons'}, |
| 121 'smallicon-search': {x: -234, y: -30, width: 12, height: 12, spritesheet: 'lar
geicons'}, | 121 'smallicon-search': {x: -234, y: -30, width: 12, height: 12, spritesheet: 'lar
geicons'}, |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 isMask: true, | 200 isMask: true, |
| 201 }, | 201 }, |
| 202 'largeicon-hide-bottom-sidebar': { | 202 'largeicon-hide-bottom-sidebar': { |
| 203 x: -256, | 203 x: -256, |
| 204 y: -120, | 204 y: -120, |
| 205 width: 28, | 205 width: 28, |
| 206 height: 24, | 206 height: 24, |
| 207 spritesheet: 'largeicons', | 207 spritesheet: 'largeicons', |
| 208 isMask: true, | 208 isMask: true, |
| 209 }, | 209 }, |
| 210 'largeicon-navigator-file': {x: -224, y: -72, width: 32, height: 24, spriteshe
et: 'largeicons', isMask: true}, | 210 'largeicon-navigator-file': {x: -226, y: -72, width: 28, height: 24, spriteshe
et: 'largeicons', isMask: true}, |
| 211 'largeicon-navigator-file-sync': {x: -160, y: -24, width: 32, height: 24, spri
tesheet: 'largeicons', isMask: true}, | 211 'largeicon-navigator-file-sync': {x: -162, y: -24, width: 28, height: 24, spri
tesheet: 'largeicons', isMask: true}, |
| 212 'badge-navigator-file-sync': {x: -320, y: -72, width: 32, height: 24, spritesh
eet: 'largeicons'}, | 212 'badge-navigator-file-sync': {x: -322, y: -72, width: 28, height: 24, spritesh
eet: 'largeicons'}, |
| 213 'largeicon-navigator-folder': {x: -64, y: -120, width: 32, height: 24, sprites
heet: 'largeicons', isMask: true}, | 213 'largeicon-navigator-folder': {x: -66, y: -120, width: 28, height: 24, sprites
heet: 'largeicons', isMask: true}, |
| 214 'largeicon-navigator-domain': {x: -160, y: -144, width: 32, height: 24, sprite
sheet: 'largeicons', isMask: true}, | 214 'largeicon-navigator-domain': {x: -162, y: -144, width: 28, height: 24, sprite
sheet: 'largeicons', isMask: true}, |
| 215 'largeicon-navigator-frame': {x: -256, y: -144, width: 32, height: 24, sprites
heet: 'largeicons', isMask: true}, | 215 'largeicon-navigator-frame': {x: -258, y: -144, width: 28, height: 24, sprites
heet: 'largeicons', isMask: true}, |
| 216 'largeicon-navigator-worker': {x: -320, y: -144, width: 32, height: 24, sprite
sheet: 'largeicons', isMask: true}, | 216 'largeicon-navigator-worker': {x: -322, y: -144, width: 28, height: 24, sprite
sheet: 'largeicons', isMask: true}, |
| 217 'largeicon-navigator-snippet': {x: -224, y: -96, width: 32, height: 24, sprite
sheet: 'largeicons', isMask: true}, | 217 'largeicon-navigator-snippet': {x: -226, y: -96, width: 28, height: 24, sprite
sheet: 'largeicons', isMask: true}, |
| 218 'largeicon-edit': {x: -160, y: -0, width: 28, height: 24, spritesheet: 'largei
cons', isMask: true}, | 218 'largeicon-edit': {x: -160, y: -0, width: 28, height: 24, spritesheet: 'largei
cons', isMask: true}, |
| 219 'largeicon-chevron': {x: -68, y: -143, width: 24, height: 26, spritesheet: 'la
rgeicons', isMask: true}, | 219 'largeicon-chevron': {x: -68, y: -143, width: 24, height: 26, spritesheet: 'la
rgeicons', isMask: true}, |
| 220 | 220 |
| 221 'mediumicon-manifest': {x: 0, y: -0, width: 16, height: 16, spritesheet: 'reso
urceicons', isMask: true}, | 221 'mediumicon-manifest': {x: 0, y: -0, width: 16, height: 16, spritesheet: 'reso
urceicons', isMask: true}, |
| 222 'mediumicon-service-worker': {x: -20, y: -0, width: 16, height: 16, spriteshee
t: 'resourceicons', isMask: true}, | 222 'mediumicon-service-worker': {x: -20, y: -0, width: 16, height: 16, spriteshee
t: 'resourceicons', isMask: true}, |
| 223 'mediumicon-clear-storage': {x: -40, y: -0, width: 16, height: 16, spritesheet
: 'resourceicons', isMask: true}, | 223 'mediumicon-clear-storage': {x: -40, y: -0, width: 16, height: 16, spritesheet
: 'resourceicons', isMask: true}, |
| 224 'mediumicon-database': {x: -60, y: -0, width: 16, height: 16, spritesheet: 're
sourceicons', isMask: true}, | 224 'mediumicon-database': {x: -60, y: -0, width: 16, height: 16, spritesheet: 're
sourceicons', isMask: true}, |
| 225 'mediumicon-table': {x: -80, y: -0, width: 16, height: 16, spritesheet: 'resou
rceicons', isMask: true}, | 225 'mediumicon-table': {x: -80, y: -0, width: 16, height: 16, spritesheet: 'resou
rceicons', isMask: true}, |
| 226 'mediumicon-cookie': {x: -120, y: -0, width: 16, height: 16, spritesheet: 'res
ourceicons', isMask: true}, | 226 'mediumicon-cookie': {x: -120, y: -0, width: 16, height: 16, spritesheet: 'res
ourceicons', isMask: true}, |
| 227 | 227 |
| 228 'mediumicon-arrow-top': {x: 0, y: 0, width: 19, height: 19, spritesheet: 'arro
wicons'}, | 228 'mediumicon-arrow-top': {x: 0, y: 0, width: 19, height: 19, spritesheet: 'arro
wicons'}, |
| 229 'mediumicon-arrow-bottom': {x: 0, y: -19, width: 19, height: 19, spritesheet:
'arrowicons'}, | 229 'mediumicon-arrow-bottom': {x: 0, y: -19, width: 19, height: 19, spritesheet:
'arrowicons'}, |
| 230 'mediumicon-arrow-left': {x: 0, y: -38, width: 19, height: 19, spritesheet: 'a
rrowicons'}, | 230 'mediumicon-arrow-left': {x: 0, y: -38, width: 19, height: 19, spritesheet: 'a
rrowicons'}, |
| 231 'mediumicon-arrow-right': {x: 0, y: -57, width: 19, height: 19, spritesheet: '
arrowicons'}, | 231 'mediumicon-arrow-right': {x: 0, y: -57, width: 19, height: 19, spritesheet: '
arrowicons'}, |
| 232 }; | 232 }; |
| OLD | NEW |