28 lines
652 B
C++
28 lines
652 B
C++
/* 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/. */
|
|
|
|
#ifndef mozilla_css_DocumentMatchingFunction_h
|
|
#define mozilla_css_DocumentMatchingFunction_h
|
|
|
|
namespace mozilla {
|
|
namespace css {
|
|
|
|
/**
|
|
* Enum defining the type of matching function for a @-moz-document rule
|
|
* condition.
|
|
*/
|
|
enum class DocumentMatchingFunction {
|
|
URL = 0,
|
|
URLPrefix,
|
|
Domain,
|
|
RegExp,
|
|
MediaDocument,
|
|
PlainTextDocument,
|
|
};
|
|
|
|
} // namespace css
|
|
} // namespace mozilla
|
|
|
|
#endif // mozilla_css_DocumentMatchingFunction_h
|