| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Intel Corporation. All rights reserved. | 2 * Copyright (C) 2012 Intel Corporation. All rights reserved. |
| 3 * Copyright (C) 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2012 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above | 9 * 1. Redistributions of source code must retain the above |
| 10 * copyright notice, this list of conditions and the following | 10 * copyright notice, this list of conditions and the following |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 24 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR | 25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| 26 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF | 26 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF |
| 27 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 27 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 28 * SUCH DAMAGE. | 28 * SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef CSSViewportRule_h | 31 #ifndef CSSViewportRule_h |
| 32 #define CSSViewportRule_h | 32 #define CSSViewportRule_h |
| 33 | 33 |
| 34 #if ENABLE(CSS_DEVICE_ADAPTATION) | |
| 35 | |
| 36 #include "core/css/CSSRule.h" | 34 #include "core/css/CSSRule.h" |
| 37 | 35 |
| 38 namespace WebCore { | 36 namespace WebCore { |
| 39 | 37 |
| 40 class CSSStyleDeclaration; | 38 class CSSStyleDeclaration; |
| 41 class StyleRuleViewport; | 39 class StyleRuleViewport; |
| 42 class StyleRuleCSSStyleDeclaration; | 40 class StyleRuleCSSStyleDeclaration; |
| 43 | 41 |
| 44 class CSSViewportRule: public CSSRule { | 42 class CSSViewportRule: public CSSRule { |
| 45 public: | 43 public: |
| (...skipping 13 matching lines...) Expand all Loading... |
| 59 private: | 57 private: |
| 60 CSSViewportRule(StyleRuleViewport*, CSSStyleSheet*); | 58 CSSViewportRule(StyleRuleViewport*, CSSStyleSheet*); |
| 61 | 59 |
| 62 RefPtr<StyleRuleViewport> m_viewportRule; | 60 RefPtr<StyleRuleViewport> m_viewportRule; |
| 63 mutable RefPtr<StyleRuleCSSStyleDeclaration> m_propertiesCSSOMWrapper; | 61 mutable RefPtr<StyleRuleCSSStyleDeclaration> m_propertiesCSSOMWrapper; |
| 64 }; | 62 }; |
| 65 | 63 |
| 66 } // namespace WebCore | 64 } // namespace WebCore |
| 67 | 65 |
| 68 #endif // CSSViewportRule_h | 66 #endif // CSSViewportRule_h |
| 69 | |
| 70 #endif // ENABLE(CSS_DEVICE_ADAPTATION) | |
| OLD | NEW |