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

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

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/LayoutStyleCSSValueMapping.cpp ('k') | 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 24 matching lines...) Expand all
35 #include "core/MediaFeatures.h" 35 #include "core/MediaFeatures.h"
36 #include "core/MediaTypeNames.h" 36 #include "core/MediaTypeNames.h"
37 #include "core/css/CSSHelper.h" 37 #include "core/css/CSSHelper.h"
38 #include "core/css/CSSPrimitiveValue.h" 38 #include "core/css/CSSPrimitiveValue.h"
39 #include "core/css/CSSToLengthConversionData.h" 39 #include "core/css/CSSToLengthConversionData.h"
40 #include "core/css/MediaList.h" 40 #include "core/css/MediaList.h"
41 #include "core/css/MediaQuery.h" 41 #include "core/css/MediaQuery.h"
42 #include "core/css/MediaValuesDynamic.h" 42 #include "core/css/MediaValuesDynamic.h"
43 #include "core/css/PointerProperties.h" 43 #include "core/css/PointerProperties.h"
44 #include "core/css/resolver/MediaQueryResult.h" 44 #include "core/css/resolver/MediaQueryResult.h"
45 #include "core/dom/NodeLayoutStyle.h" 45 #include "core/dom/NodeComputedStyle.h"
46 #include "core/frame/FrameHost.h" 46 #include "core/frame/FrameHost.h"
47 #include "core/frame/FrameView.h" 47 #include "core/frame/FrameView.h"
48 #include "core/frame/LocalFrame.h" 48 #include "core/frame/LocalFrame.h"
49 #include "core/frame/Settings.h" 49 #include "core/frame/Settings.h"
50 #include "core/frame/UseCounter.h" 50 #include "core/frame/UseCounter.h"
51 #include "core/inspector/InspectorInstrumentation.h" 51 #include "core/inspector/InspectorInstrumentation.h"
52 #include "core/layout/LayoutView.h" 52 #include "core/layout/LayoutView.h"
53 #include "core/layout/style/LayoutStyle.h" 53 #include "core/layout/style/ComputedStyle.h"
54 #include "platform/PlatformScreen.h" 54 #include "platform/PlatformScreen.h"
55 #include "platform/RuntimeEnabledFeatures.h" 55 #include "platform/RuntimeEnabledFeatures.h"
56 #include "platform/geometry/FloatRect.h" 56 #include "platform/geometry/FloatRect.h"
57 #include "public/platform/WebDisplayMode.h" 57 #include "public/platform/WebDisplayMode.h"
58 #include "wtf/HashMap.h" 58 #include "wtf/HashMap.h"
59 59
60 namespace blink { 60 namespace blink {
61 61
62 using namespace MediaFeatureNames; 62 using namespace MediaFeatureNames;
63 63
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 // Call the media feature evaluation function. Assume no prefix and let 661 // Call the media feature evaluation function. Assume no prefix and let
662 // trampoline functions override the prefix if prefix is used. 662 // trampoline functions override the prefix if prefix is used.
663 EvalFunc func = gFunctionMap->get(expr->mediaFeature().impl()); 663 EvalFunc func = gFunctionMap->get(expr->mediaFeature().impl());
664 if (func) 664 if (func)
665 return func(expr->expValue(), NoPrefix, *m_mediaValues); 665 return func(expr->expValue(), NoPrefix, *m_mediaValues);
666 666
667 return false; 667 return false;
668 } 668 }
669 669
670 } // namespace 670 } // namespace
OLDNEW
« no previous file with comments | « Source/core/css/LayoutStyleCSSValueMapping.cpp ('k') | Source/core/css/MediaValues.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698