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 16 matching lines...) Expand all Loading... |
27 * SUCH DAMAGE. | 27 * SUCH DAMAGE. |
28 */ | 28 */ |
29 | 29 |
30 #ifndef ViewportStyleResolver_h | 30 #ifndef ViewportStyleResolver_h |
31 #define ViewportStyleResolver_h | 31 #define ViewportStyleResolver_h |
32 | 32 |
33 #include "core/CSSPropertyNames.h" | 33 #include "core/CSSPropertyNames.h" |
34 #include "core/CoreExport.h" | 34 #include "core/CoreExport.h" |
35 #include "core/css/RuleSet.h" | 35 #include "core/css/RuleSet.h" |
36 #include "platform/Length.h" | 36 #include "platform/Length.h" |
37 #include "wtf/RefCounted.h" | |
38 #include "wtf/RefPtr.h" | |
39 | 37 |
40 namespace blink { | 38 namespace blink { |
41 | 39 |
42 class Document; | 40 class Document; |
43 class MutableStylePropertySet; | 41 class MutableStylePropertySet; |
44 class StyleRuleViewport; | 42 class StyleRuleViewport; |
45 | 43 |
46 class CORE_EXPORT ViewportStyleResolver : public GarbageCollected<ViewportStyleR
esolver> { | 44 class CORE_EXPORT ViewportStyleResolver : public GarbageCollected<ViewportStyleR
esolver> { |
47 public: | 45 public: |
48 static ViewportStyleResolver* create(Document* document) | 46 static ViewportStyleResolver* create(Document* document) |
(...skipping 18 matching lines...) Expand all Loading... |
67 Length viewportLengthValue(CSSPropertyID) const; | 65 Length viewportLengthValue(CSSPropertyID) const; |
68 | 66 |
69 Member<Document> m_document; | 67 Member<Document> m_document; |
70 Member<MutableStylePropertySet> m_propertySet; | 68 Member<MutableStylePropertySet> m_propertySet; |
71 bool m_hasAuthorStyle; | 69 bool m_hasAuthorStyle; |
72 }; | 70 }; |
73 | 71 |
74 } // namespace blink | 72 } // namespace blink |
75 | 73 |
76 #endif // ViewportStyleResolver_h | 74 #endif // ViewportStyleResolver_h |
OLD | NEW |