| OLD | NEW |
| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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/NodeRenderStyle.h" | 45 #include "core/dom/NodeRenderStyle.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/compositing/RenderLayerCompositor.h" | 52 #include "core/layout/compositing/LayerCompositor.h" |
| 53 #include "core/rendering/RenderView.h" | 53 #include "core/rendering/RenderView.h" |
| 54 #include "core/rendering/style/RenderStyle.h" | 54 #include "core/rendering/style/RenderStyle.h" |
| 55 #include "platform/PlatformScreen.h" | 55 #include "platform/PlatformScreen.h" |
| 56 #include "platform/RuntimeEnabledFeatures.h" | 56 #include "platform/RuntimeEnabledFeatures.h" |
| 57 #include "platform/geometry/FloatRect.h" | 57 #include "platform/geometry/FloatRect.h" |
| 58 #include "public/platform/WebDisplayMode.h" | 58 #include "public/platform/WebDisplayMode.h" |
| 59 #include "wtf/HashMap.h" | 59 #include "wtf/HashMap.h" |
| 60 | 60 |
| 61 namespace blink { | 61 namespace blink { |
| 62 | 62 |
| (...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 662 // Call the media feature evaluation function. Assume no prefix and let | 662 // Call the media feature evaluation function. Assume no prefix and let |
| 663 // trampoline functions override the prefix if prefix is used. | 663 // trampoline functions override the prefix if prefix is used. |
| 664 EvalFunc func = gFunctionMap->get(expr->mediaFeature().impl()); | 664 EvalFunc func = gFunctionMap->get(expr->mediaFeature().impl()); |
| 665 if (func) | 665 if (func) |
| 666 return func(expr->expValue(), NoPrefix, *m_mediaValues); | 666 return func(expr->expValue(), NoPrefix, *m_mediaValues); |
| 667 | 667 |
| 668 return false; | 668 return false; |
| 669 } | 669 } |
| 670 | 670 |
| 671 } // namespace | 671 } // namespace |
| OLD | NEW |