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

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

Issue 171383002: A thread-safe Media Query Parser (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Generate strings with make_names Created 6 years, 9 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
OLDNEW
(Empty)
1 /*
2 * Copyright (C) 2005, 2013 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
14 *
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
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19 *
20 */
21 #ifndef MediaFeatures_h
22 #define MediaFeatures_h
23
24 #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
25 macro(color) \
26 macro(colorIndex) \
27 macro(grid) \
28 macro(monochrome) \
29 macro(height) \
30 macro(hover) \
31 macro(width) \
32 macro(orientation) \
33 macro(aspectRatio) \
34 macro(deviceAspectRatio) \
35 macro(devicePixelRatio) \
36 macro(deviceHeight) \
37 macro(deviceWidth) \
38 macro(maxColor) \
39 macro(maxColorIndex) \
40 macro(maxAspectRatio) \
41 macro(maxDeviceAspectRatio) \
42 macro(maxDevicePixelRatio) \
43 macro(maxDeviceHeight) \
44 macro(maxDeviceWidth) \
45 macro(maxHeight) \
46 macro(maxMonochrome) \
47 macro(maxWidth) \
48 macro(maxResolution) \
49 macro(minColor) \
50 macro(minColorIndex) \
51 macro(minAspectRatio) \
52 macro(minDeviceAspectRatio) \
53 macro(minDevicePixelRatio) \
54 macro(minDeviceHeight) \
55 macro(minDeviceWidth) \
56 macro(minHeight) \
57 macro(minMonochrome) \
58 macro(minWidth) \
59 macro(minResolution) \
60 macro(pointer) \
61 macro(resolution) \
62 macro(transform2d) \
63 macro(transform3d) \
64 macro(scan) \
65 macro(animation) \
66 macro(viewMode)
67
68 #endif // MediaFeatureNames_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698