| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Intel Corporation. All rights reserved. | 2 * Copyright (C) 2012 Intel Corporation. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
| 9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
| 10 * disclaimer. | 10 * disclaimer. |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 #include "config.h" | 30 #include "config.h" |
| 31 #include "core/css/resolver/ViewportStyleResolver.h" | 31 #include "core/css/resolver/ViewportStyleResolver.h" |
| 32 | 32 |
| 33 #include "CSSValueKeywords.h" | 33 #include "CSSValueKeywords.h" |
| 34 #include "core/css/StylePropertySet.h" | 34 #include "core/css/StylePropertySet.h" |
| 35 #include "core/css/StyleRule.h" | 35 #include "core/css/StyleRule.h" |
| 36 #include "core/dom/Document.h" | 36 #include "core/dom/Document.h" |
| 37 #include "core/dom/NodeRenderStyle.h" | 37 #include "core/dom/NodeRenderStyle.h" |
| 38 #include "core/dom/ViewportArguments.h" | 38 #include "core/dom/ViewportArguments.h" |
| 39 #include "core/page/Page.h" | |
| 40 #include "core/rendering/RenderView.h" | |
| 41 | 39 |
| 42 namespace WebCore { | 40 namespace WebCore { |
| 43 | 41 |
| 44 ViewportStyleResolver::ViewportStyleResolver(Document* document) | 42 ViewportStyleResolver::ViewportStyleResolver(Document* document) |
| 45 : m_document(document) | 43 : m_document(document) |
| 46 { | 44 { |
| 47 ASSERT(m_document); | 45 ASSERT(m_document); |
| 48 } | 46 } |
| 49 | 47 |
| 50 ViewportStyleResolver::~ViewportStyleResolver() | 48 ViewportStyleResolver::~ViewportStyleResolver() |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 case CSSValueZoom: | 149 case CSSValueZoom: |
| 152 return defaultValue; | 150 return defaultValue; |
| 153 case CSSValueFixed: | 151 case CSSValueFixed: |
| 154 return 0; | 152 return 0; |
| 155 default: | 153 default: |
| 156 return defaultValue; | 154 return defaultValue; |
| 157 } | 155 } |
| 158 } | 156 } |
| 159 | 157 |
| 160 } // namespace WebCore | 158 } // namespace WebCore |
| OLD | NEW |