2018-12-21 22:05:46 +03:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
const { createEnum } = require("devtools/client/shared/enum");
|
|
|
|
|
|
|
|
createEnum(
|
|
|
|
[
|
2019-01-14 23:14:03 +03:00
|
|
|
// Disables all the pseudo class checkboxes because the current selection is not an
|
|
|
|
// element node.
|
|
|
|
"DISABLE_ALL_PSEUDO_CLASSES",
|
2018-12-21 22:05:46 +03:00
|
|
|
|
2019-01-14 23:14:03 +03:00
|
|
|
// Sets the entire pseudo class state with the new list of applied pseudo-class
|
|
|
|
// locks.
|
|
|
|
"SET_PSEUDO_CLASSES",
|
|
|
|
|
|
|
|
// Toggles on or off the given pseudo class value for the current selected element.
|
|
|
|
"TOGGLE_PSEUDO_CLASS",
|
|
|
|
|
|
|
|
// Updates whether or not the add new rule button should be enabled.
|
|
|
|
"UPDATE_ADD_RULE_ENABLED",
|
|
|
|
|
2019-01-29 17:57:02 +03:00
|
|
|
// Updates the entire class list state with the new list of classes.
|
|
|
|
"UPDATE_CLASSES",
|
|
|
|
|
2019-01-22 19:06:39 +03:00
|
|
|
// Updates whether or not the class list panel is expanded.
|
|
|
|
"UPDATE_CLASS_PANEL_EXPANDED",
|
|
|
|
|
2019-10-25 22:28:02 +03:00
|
|
|
// Updates whether or not the color scheme simulation button is hidden.
|
|
|
|
"UPDATE_COLOR_SCHEME_SIMULATION_HIDDEN",
|
|
|
|
|
2019-01-22 19:06:39 +03:00
|
|
|
// Updates the highlighted selector.
|
|
|
|
"UPDATE_HIGHLIGHTED_SELECTOR",
|
|
|
|
|
2019-01-17 18:29:38 +03:00
|
|
|
// Updates whether or not the print simulation button is hidden.
|
|
|
|
"UPDATE_PRINT_SIMULATION_HIDDEN",
|
|
|
|
|
2019-04-16 23:37:11 +03:00
|
|
|
// Updates the rules state with the new list of CSS rules for the selected element.
|
|
|
|
"UPDATE_RULES",
|
|
|
|
|
2019-01-08 23:58:11 +03:00
|
|
|
// Updates whether or not the source links are enabled.
|
2018-12-21 22:05:46 +03:00
|
|
|
"UPDATE_SOURCE_LINK_ENABLED",
|
|
|
|
|
2019-02-07 08:16:45 +03:00
|
|
|
// Updates the source link information for a given rule.
|
|
|
|
"UPDATE_SOURCE_LINK",
|
2018-12-21 22:05:46 +03:00
|
|
|
],
|
|
|
|
module.exports
|
|
|
|
);
|