| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2005, 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2005, 2013 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
| 14 * | 14 * |
| 15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
| 16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
| 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
| 19 * | 19 * |
| 20 */ | 20 */ |
| 21 #ifndef MediaFeatureNames_h | 21 #ifndef MediaFeatureNames_h |
| 22 #define MediaFeatureNames_h | 22 #define MediaFeatureNames_h |
| 23 | 23 |
| 24 #include "wtf/text/AtomicString.h" | 24 #include "wtf/text/AtomicString.h" |
| 25 | 25 |
| 26 namespace WebCore { | 26 namespace WebCore { |
| 27 namespace MediaFeatureNames { | 27 namespace MediaFeatureNames { |
| 28 | 28 |
| 29 #define CSS_MEDIAQUERY_NAMES_FOR_EACH_MEDIAFEATURE(macro) \ | 29 #define CSS_MEDIAQUERY_NAMES_FOR_EACH_MEDIAFEATURE(macro) \ |
| 30 macro(deprecatedTransition, "-webkit-transition") \ | |
| 31 macro(color, "color") \ | 30 macro(color, "color") \ |
| 32 macro(colorIndex, "color-index") \ | 31 macro(colorIndex, "color-index") \ |
| 33 macro(grid, "grid") \ | 32 macro(grid, "grid") \ |
| 34 macro(monochrome, "monochrome") \ | 33 macro(monochrome, "monochrome") \ |
| 35 macro(height, "height") \ | 34 macro(height, "height") \ |
| 36 macro(hover, "hover") \ | 35 macro(hover, "hover") \ |
| 37 macro(width, "width") \ | 36 macro(width, "width") \ |
| 38 macro(orientation, "orientation") \ | 37 macro(orientation, "orientation") \ |
| 39 macro(aspectRatio, "aspect-ratio") \ | 38 macro(aspectRatio, "aspect-ratio") \ |
| 40 macro(deviceAspectRatio, "device-aspect-ratio") \ | 39 macro(deviceAspectRatio, "device-aspect-ratio") \ |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 CSS_MEDIAQUERY_NAMES_FOR_EACH_MEDIAFEATURE(CSS_MEDIAQUERY_NAMES_DECLARE) | 77 CSS_MEDIAQUERY_NAMES_FOR_EACH_MEDIAFEATURE(CSS_MEDIAQUERY_NAMES_DECLARE) |
| 79 #undef CSS_MEDIAQUERY_NAMES_DECLARE | 78 #undef CSS_MEDIAQUERY_NAMES_DECLARE |
| 80 #endif | 79 #endif |
| 81 | 80 |
| 82 void init(); | 81 void init(); |
| 83 | 82 |
| 84 } // namespace MediaFeatureNames | 83 } // namespace MediaFeatureNames |
| 85 } // namespace WebCore | 84 } // namespace WebCore |
| 86 | 85 |
| 87 #endif // MediaFeatureNames_h | 86 #endif // MediaFeatureNames_h |
| OLD | NEW |