Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Side by Side Diff: Source/core/css/MediaFeatureNames.h

Issue 15001026: Deprecate the unofficial -webkit-transition media feature (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/css/MediaQueryEvaluator.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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") \
30 macro(color, "color") \ 31 macro(color, "color") \
31 macro(colorIndex, "color-index") \ 32 macro(colorIndex, "color-index") \
32 macro(grid, "grid") \ 33 macro(grid, "grid") \
33 macro(monochrome, "monochrome") \ 34 macro(monochrome, "monochrome") \
34 macro(height, "height") \ 35 macro(height, "height") \
35 macro(hover, "hover") \ 36 macro(hover, "hover") \
36 macro(width, "width") \ 37 macro(width, "width") \
37 macro(orientation, "orientation") \ 38 macro(orientation, "orientation") \
38 macro(aspectRatio, "aspect-ratio") \ 39 macro(aspectRatio, "aspect-ratio") \
39 macro(deviceAspectRatio, "device-aspect-ratio") \ 40 macro(deviceAspectRatio, "device-aspect-ratio") \
(...skipping 20 matching lines...) Expand all
60 macro(minDeviceWidth, "min-device-width") \ 61 macro(minDeviceWidth, "min-device-width") \
61 macro(minHeight, "min-height") \ 62 macro(minHeight, "min-height") \
62 macro(minMonochrome, "min-monochrome") \ 63 macro(minMonochrome, "min-monochrome") \
63 macro(minWidth, "min-width") \ 64 macro(minWidth, "min-width") \
64 macro(minResolution, "min-resolution") \ 65 macro(minResolution, "min-resolution") \
65 macro(pointer, "pointer") \ 66 macro(pointer, "pointer") \
66 macro(resolution, "resolution") \ 67 macro(resolution, "resolution") \
67 macro(transform2d, "-webkit-transform-2d") \ 68 macro(transform2d, "-webkit-transform-2d") \
68 macro(transform3d, "-webkit-transform-3d") \ 69 macro(transform3d, "-webkit-transform-3d") \
69 macro(scan, "scan") \ 70 macro(scan, "scan") \
70 macro(transition, "-webkit-transition") \
71 macro(animation, "-webkit-animation") \ 71 macro(animation, "-webkit-animation") \
72 macro(viewMode, "-webkit-view-mode") 72 macro(viewMode, "-webkit-view-mode")
73 73
74 // end of macro 74 // end of macro
75 75
76 #ifndef CSS_MEDIAQUERY_NAMES_HIDE_GLOBALS 76 #ifndef CSS_MEDIAQUERY_NAMES_HIDE_GLOBALS
77 #define CSS_MEDIAQUERY_NAMES_DECLARE(name, str) extern const AtomicString name## MediaFeature; 77 #define CSS_MEDIAQUERY_NAMES_DECLARE(name, str) extern const AtomicString name## MediaFeature;
78 CSS_MEDIAQUERY_NAMES_FOR_EACH_MEDIAFEATURE(CSS_MEDIAQUERY_NAMES_DECLARE) 78 CSS_MEDIAQUERY_NAMES_FOR_EACH_MEDIAFEATURE(CSS_MEDIAQUERY_NAMES_DECLARE)
79 #undef CSS_MEDIAQUERY_NAMES_DECLARE 79 #undef CSS_MEDIAQUERY_NAMES_DECLARE
80 #endif 80 #endif
81 81
82 void init(); 82 void init();
83 83
84 } // namespace MediaFeatureNames 84 } // namespace MediaFeatureNames
85 } // namespace WebCore 85 } // namespace WebCore
86 86
87 #endif // MediaFeatureNames_h 87 #endif // MediaFeatureNames_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/MediaQueryEvaluator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698