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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 void trace(Visitor*); | 59 void trace(Visitor*); |
60 | 60 |
61 private: | 61 private: |
62 explicit ViewportStyleResolver(Document*); | 62 explicit ViewportStyleResolver(Document*); |
63 | 63 |
64 void addViewportRule(StyleRuleViewport*, Origin); | 64 void addViewportRule(StyleRuleViewport*, Origin); |
65 | 65 |
66 float viewportArgumentValue(CSSPropertyID) const; | 66 float viewportArgumentValue(CSSPropertyID) const; |
67 Length viewportLengthValue(CSSPropertyID) const; | 67 Length viewportLengthValue(CSSPropertyID) const; |
68 | 68 |
69 Document* m_document; | 69 RawPtrWillBeMember<Document> m_document; |
70 RefPtrWillBeMember<MutableStylePropertySet> m_propertySet; | 70 RefPtrWillBeMember<MutableStylePropertySet> m_propertySet; |
71 bool m_hasAuthorStyle; | 71 bool m_hasAuthorStyle; |
72 }; | 72 }; |
73 | 73 |
74 } // namespace blink | 74 } // namespace blink |
75 | 75 |
76 #endif // ViewportStyleResolver_h | 76 #endif // ViewportStyleResolver_h |
OLD | NEW |