2017-04-18 19:59:43 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
|
|
|
/* 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/. */
|
|
|
|
|
2018-07-19 13:56:27 +03:00
|
|
|
#ifndef mozilla_css_DocumentMatchingFunction_h
|
|
|
|
#define mozilla_css_DocumentMatchingFunction_h
|
2017-04-18 19:59:43 +03:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace css {
|
|
|
|
|
|
|
|
/**
|
2018-07-19 13:56:27 +03:00
|
|
|
* Enum defining the type of matching function for a @-moz-document rule
|
2017-04-18 19:59:43 +03:00
|
|
|
* condition.
|
|
|
|
*/
|
2018-07-19 13:56:27 +03:00
|
|
|
enum class DocumentMatchingFunction {
|
|
|
|
URL = 0,
|
|
|
|
URLPrefix,
|
|
|
|
Domain,
|
|
|
|
RegExp,
|
2018-07-19 20:50:19 +03:00
|
|
|
MediaDocument,
|
2017-04-18 19:59:43 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace css
|
|
|
|
} // namespace mozilla
|
|
|
|
|
2018-07-19 13:56:27 +03:00
|
|
|
#endif // mozilla_css_DocumentMatchingFunction_h
|