| 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 * | 6 * |
| 7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
| 8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
| 9 * are met: | 9 * are met: |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "core/css/MediaQueryEvaluator.h" | 30 #include "core/css/MediaQueryEvaluator.h" |
| 31 | 31 |
| 32 #include "CSSValueKeywords.h" | 32 #include "CSSValueKeywords.h" |
| 33 #include "core/css/CSSAspectRatioValue.h" | 33 #include "core/css/CSSAspectRatioValue.h" |
| 34 #include "core/css/CSSPrimitiveValue.h" | 34 #include "core/css/CSSPrimitiveValue.h" |
| 35 #include "core/css/CSSValueList.h" | 35 #include "core/css/CSSValueList.h" |
| 36 #include "core/css/MediaFeatureNames.h" | 36 #include "core/css/MediaFeatureNames.h" |
| 37 #include "core/css/MediaList.h" | 37 #include "core/css/MediaList.h" |
| 38 #include "core/css/MediaQuery.h" | 38 #include "core/css/MediaQuery.h" |
| 39 #include "core/css/MediaQueryExp.h" | 39 #include "core/css/MediaQueryExp.h" |
| 40 #include "core/css/StyleResolver.h" | 40 #include "core/css/resolver/StyleResolver.h" |
| 41 #include "core/dom/NodeRenderStyle.h" | 41 #include "core/dom/NodeRenderStyle.h" |
| 42 #include "core/page/Chrome.h" | 42 #include "core/page/Chrome.h" |
| 43 #include "core/page/ChromeClient.h" | 43 #include "core/page/ChromeClient.h" |
| 44 #include "core/page/DOMWindow.h" | 44 #include "core/page/DOMWindow.h" |
| 45 #include "core/page/Frame.h" | 45 #include "core/page/Frame.h" |
| 46 #include "core/page/FrameView.h" | 46 #include "core/page/FrameView.h" |
| 47 #include "core/page/Page.h" | 47 #include "core/page/Page.h" |
| 48 #include "core/page/Screen.h" | 48 #include "core/page/Screen.h" |
| 49 #include "core/page/Settings.h" | 49 #include "core/page/Settings.h" |
| 50 #include "core/platform/PlatformScreen.h" | 50 #include "core/platform/PlatformScreen.h" |
| (...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 750 // and let trampoline functions override the prefix if prefix is | 750 // and let trampoline functions override the prefix if prefix is |
| 751 // used | 751 // used |
| 752 EvalFunc func = gFunctionMap->get(expr->mediaFeature().impl()); | 752 EvalFunc func = gFunctionMap->get(expr->mediaFeature().impl()); |
| 753 if (func) | 753 if (func) |
| 754 return func(expr->value(), m_style.get(), m_frame, NoPrefix); | 754 return func(expr->value(), m_style.get(), m_frame, NoPrefix); |
| 755 | 755 |
| 756 return false; | 756 return false; |
| 757 } | 757 } |
| 758 | 758 |
| 759 } // namespace | 759 } // namespace |
| OLD | NEW |