Bug 1290988 - Collect devtools/shared/css-* files into a folder; r=tromey
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.
MozReview-Commit-ID: 9JRVsC2NMK8

--- a/devtools/client/sourceeditor/css-autocompleter.js+++ b/devtools/client/sourceeditor/css-autocompleter.js@@ -1,16 +1,16 @@ /* 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"; /* eslint-disable complexity */-const {cssTokenizer, cssTokenizerWithLineColumn} = require("devtools/shared/css-parsing-utils");+const {cssTokenizer, cssTokenizerWithLineColumn} = require("devtools/shared/css/parsing-utils"); const {getClientCssProperties} = require("devtools/shared/fronts/css-properties"); /** * Here is what this file (+ css-parsing-utils.js) do. * * The main objective here is to provide as much suggestions to the user editing * a stylesheet in Style Editor. The possible things that can be suggested are: * - CSS property names

rename from devtools/shared/css-lexer.jsrename to devtools/shared/css/lexer.js

new file mode 100644--- /dev/null+++ b/devtools/shared/css/moz.build@@ -0,0 +1,13 @@+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-+# vim: set filetype=python:+# 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/.++DevToolsModules(+ 'color-db.js',+ 'color.js',+ 'lexer.js',+ 'parsing-utils.js',+ 'properties-db.js',+)

--- a/devtools/shared/inspector/css-logic.js+++ b/devtools/shared/inspector/css-logic.js@@ -36,17 +36,17 @@ * styling information in the page, and present this to the user in a way that * helps them understand: * - why their expectations may not have been fulfilled * - how browsers process CSS * @constructor */ const Services = require("Services");-const CSSLexer = require("devtools/shared/css-lexer");+const CSSLexer = require("devtools/shared/css/lexer"); const {LocalizationHelper} = require("devtools/shared/l10n"); const styleInspectorL10N = new LocalizationHelper("devtools-shared/locale/styleinspector.properties"); /** * Special values for filter, in addition to an href these values can be used */ exports.FILTER = {