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

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

Issue 2884313002: color: Rename blink::ColorSpace to blink::InterpolationSpace (Closed)
Patch Set: Incorporate review feedback Created 3 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 | third_party/WebKit/Source/core/css/MediaValues.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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "core/css/resolver/MediaQueryResult.h" 43 #include "core/css/resolver/MediaQueryResult.h"
44 #include "core/dom/NodeComputedStyle.h" 44 #include "core/dom/NodeComputedStyle.h"
45 #include "core/frame/FrameView.h" 45 #include "core/frame/FrameView.h"
46 #include "core/frame/LocalFrame.h" 46 #include "core/frame/LocalFrame.h"
47 #include "core/frame/Settings.h" 47 #include "core/frame/Settings.h"
48 #include "core/frame/UseCounter.h" 48 #include "core/frame/UseCounter.h"
49 #include "core/probe/CoreProbes.h" 49 #include "core/probe/CoreProbes.h"
50 #include "core/style/ComputedStyle.h" 50 #include "core/style/ComputedStyle.h"
51 #include "platform/RuntimeEnabledFeatures.h" 51 #include "platform/RuntimeEnabledFeatures.h"
52 #include "platform/geometry/FloatRect.h" 52 #include "platform/geometry/FloatRect.h"
53 #include "platform/graphics/ColorSpace.h" 53 #include "platform/graphics/ColorSpaceGamut.h"
54 #include "platform/wtf/HashMap.h" 54 #include "platform/wtf/HashMap.h"
55 #include "public/platform/PointerProperties.h" 55 #include "public/platform/PointerProperties.h"
56 #include "public/platform/ShapeProperties.h" 56 #include "public/platform/ShapeProperties.h"
57 #include "public/platform/WebDisplayMode.h" 57 #include "public/platform/WebDisplayMode.h"
58 58
59 namespace blink { 59 namespace blink {
60 60
61 using namespace MediaFeatureNames; 61 using namespace MediaFeatureNames;
62 62
63 enum MediaFeaturePrefix { kMinPrefix, kMaxPrefix, kNoPrefix }; 63 enum MediaFeaturePrefix { kMinPrefix, kMaxPrefix, kNoPrefix };
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 // Call the media feature evaluation function. Assume no prefix and let 811 // Call the media feature evaluation function. Assume no prefix and let
812 // trampoline functions override the prefix if prefix is used. 812 // trampoline functions override the prefix if prefix is used.
813 EvalFunc func = g_function_map->at(expr.MediaFeature().Impl()); 813 EvalFunc func = g_function_map->at(expr.MediaFeature().Impl());
814 if (func) 814 if (func)
815 return func(expr.ExpValue(), kNoPrefix, *media_values_); 815 return func(expr.ExpValue(), kNoPrefix, *media_values_);
816 816
817 return false; 817 return false;
818 } 818 }
819 819
820 } // namespace blink 820 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/MediaValues.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698