index.js (882B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 "use strict"; 6 7 const { createEnum } = require("resource://devtools/client/shared/enum.js"); 8 9 createEnum( 10 [ 11 // Updates the color used for the overlay of a grid. 12 "UPDATE_GRID_COLOR", 13 14 // Updates the grid highlighted state. 15 "UPDATE_GRID_HIGHLIGHTED", 16 17 // Updates the entire grids state with the new list of grids. 18 "UPDATE_GRIDS", 19 20 // Updates the grid highlighter's show grid areas state. 21 "UPDATE_SHOW_GRID_AREAS", 22 23 // Updates the grid highlighter's show grid line numbers state. 24 "UPDATE_SHOW_GRID_LINE_NUMBERS", 25 26 // Updates the grid highlighter's show infinite lines state. 27 "UPDATE_SHOW_INFINITE_LINES", 28 ], 29 module.exports 30 );