Index: Source/core/css/MediaFeatures.h |
diff --git a/Source/core/css/MediaFeatures.h b/Source/core/css/MediaFeatures.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..24a717f8af05b5eff776d077c57ca2e860a6be4f |
--- /dev/null |
+++ b/Source/core/css/MediaFeatures.h |
@@ -0,0 +1,68 @@ |
+/* |
+ * Copyright (C) 2005, 2013 Apple Inc. All rights reserved. |
+ * Copyright (C) 2013 Intel Corporation. All rights reserved. |
+ * |
+ * This library is free software; you can redistribute it and/or |
+ * modify it under the terms of the GNU Library General Public |
+ * License as published by the Free Software Foundation; either |
+ * version 2 of the License, or (at your option) any later version. |
+ * |
+ * This library is distributed in the hope that it will be useful, |
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of |
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+ * Library General Public License for more details. |
+ * |
+ * You should have received a copy of the GNU Library General Public License |
+ * along with this library; see the file COPYING.LIB. If not, write to |
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
+ * Boston, MA 02110-1301, USA. |
+ * |
+ */ |
+#ifndef MediaFeatures_h |
+#define MediaFeatures_h |
+ |
+#define CSS_MEDIAQUERY_NAMES_FOR_EACH_MEDIAFEATURE(macro) \ |
abarth-chromium
2014/03/03 19:06:19
Why is this needed? It's lame that we have to rep
|
+ macro(color) \ |
+ macro(colorIndex) \ |
+ macro(grid) \ |
+ macro(monochrome) \ |
+ macro(height) \ |
+ macro(hover) \ |
+ macro(width) \ |
+ macro(orientation) \ |
+ macro(aspectRatio) \ |
+ macro(deviceAspectRatio) \ |
+ macro(devicePixelRatio) \ |
+ macro(deviceHeight) \ |
+ macro(deviceWidth) \ |
+ macro(maxColor) \ |
+ macro(maxColorIndex) \ |
+ macro(maxAspectRatio) \ |
+ macro(maxDeviceAspectRatio) \ |
+ macro(maxDevicePixelRatio) \ |
+ macro(maxDeviceHeight) \ |
+ macro(maxDeviceWidth) \ |
+ macro(maxHeight) \ |
+ macro(maxMonochrome) \ |
+ macro(maxWidth) \ |
+ macro(maxResolution) \ |
+ macro(minColor) \ |
+ macro(minColorIndex) \ |
+ macro(minAspectRatio) \ |
+ macro(minDeviceAspectRatio) \ |
+ macro(minDevicePixelRatio) \ |
+ macro(minDeviceHeight) \ |
+ macro(minDeviceWidth) \ |
+ macro(minHeight) \ |
+ macro(minMonochrome) \ |
+ macro(minWidth) \ |
+ macro(minResolution) \ |
+ macro(pointer) \ |
+ macro(resolution) \ |
+ macro(transform2d) \ |
+ macro(transform3d) \ |
+ macro(scan) \ |
+ macro(animation) \ |
+ macro(viewMode) |
+ |
+#endif // MediaFeatureNames_h |