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

Side by Side Diff: Source/core/css/MediaQueryEvaluator.cpp

Issue 647723002: Remove -webkit-aspect-ratio. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Forgot to remove webkitAspectRatio from virtual/stable. :( Created 6 years, 2 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 | « Source/core/css/CSSValue.cpp ('k') | Source/core/css/MediaQueryExp.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 * CSS Media Query Evaluator 2 * CSS Media Query Evaluator
3 * 3 *
4 * Copyright (C) 2006 Kimmo Kinnunen <kimmo.t.kinnunen@nokia.com>. 4 * Copyright (C) 2006 Kimmo Kinnunen <kimmo.t.kinnunen@nokia.com>.
5 * Copyright (C) 2013 Apple Inc. All rights reserved. 5 * Copyright (C) 2013 Apple Inc. All rights reserved.
6 * Copyright (C) 2013 Intel Corporation. All rights reserved. 6 * Copyright (C) 2013 Intel Corporation. All rights reserved.
7 * 7 *
8 * Redistribution and use in source and binary forms, with or without 8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions 9 * modification, are permitted provided that the following conditions
10 * are met: 10 * are met:
(...skipping 16 matching lines...) Expand all
27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29 29
30 #include "config.h" 30 #include "config.h"
31 #include "core/css/MediaQueryEvaluator.h" 31 #include "core/css/MediaQueryEvaluator.h"
32 32
33 #include "core/CSSValueKeywords.h" 33 #include "core/CSSValueKeywords.h"
34 #include "core/MediaFeatureNames.h" 34 #include "core/MediaFeatureNames.h"
35 #include "core/MediaFeatures.h" 35 #include "core/MediaFeatures.h"
36 #include "core/MediaTypeNames.h" 36 #include "core/MediaTypeNames.h"
37 #include "core/css/CSSAspectRatioValue.h"
38 #include "core/css/CSSHelper.h" 37 #include "core/css/CSSHelper.h"
39 #include "core/css/CSSPrimitiveValue.h" 38 #include "core/css/CSSPrimitiveValue.h"
40 #include "core/css/CSSToLengthConversionData.h" 39 #include "core/css/CSSToLengthConversionData.h"
41 #include "core/css/MediaList.h" 40 #include "core/css/MediaList.h"
42 #include "core/css/MediaQuery.h" 41 #include "core/css/MediaQuery.h"
43 #include "core/css/MediaValuesDynamic.h" 42 #include "core/css/MediaValuesDynamic.h"
44 #include "core/css/PointerProperties.h" 43 #include "core/css/PointerProperties.h"
45 #include "core/css/resolver/MediaQueryResult.h" 44 #include "core/css/resolver/MediaQueryResult.h"
46 #include "core/dom/NodeRenderStyle.h" 45 #include "core/dom/NodeRenderStyle.h"
47 #include "core/frame/FrameHost.h" 46 #include "core/frame/FrameHost.h"
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 // Call the media feature evaluation function. Assume no prefix and let 652 // Call the media feature evaluation function. Assume no prefix and let
654 // trampoline functions override the prefix if prefix is used. 653 // trampoline functions override the prefix if prefix is used.
655 EvalFunc func = gFunctionMap->get(expr->mediaFeature().impl()); 654 EvalFunc func = gFunctionMap->get(expr->mediaFeature().impl());
656 if (func) 655 if (func)
657 return func(expr->expValue(), NoPrefix, *m_mediaValues); 656 return func(expr->expValue(), NoPrefix, *m_mediaValues);
658 657
659 return false; 658 return false;
660 } 659 }
661 660
662 } // namespace 661 } // namespace
OLDNEW
« no previous file with comments | « Source/core/css/CSSValue.cpp ('k') | Source/core/css/MediaQueryExp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698