OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010, Google Inc. All rights reserved. | 2 * Copyright (C) 2010, Google Inc. 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 virtual void endMediaQueryExp(unsigned offset) override; | 92 virtual void endMediaQueryExp(unsigned offset) override; |
93 virtual void startMediaQuery() override; | 93 virtual void startMediaQuery() override; |
94 virtual void endMediaQuery() override; | 94 virtual void endMediaQuery() override; |
95 | 95 |
96 void addNewRuleToSourceTree(PassRefPtrWillBeRawPtr<CSSRuleSourceData>); | 96 void addNewRuleToSourceTree(PassRefPtrWillBeRawPtr<CSSRuleSourceData>); |
97 PassRefPtrWillBeRawPtr<CSSRuleSourceData> popRuleData(); | 97 PassRefPtrWillBeRawPtr<CSSRuleSourceData> popRuleData(); |
98 template <typename CharacterType> inline void setRuleHeaderEnd(const Charact
erType*, unsigned); | 98 template <typename CharacterType> inline void setRuleHeaderEnd(const Charact
erType*, unsigned); |
99 void fixUnparsedPropertyRanges(CSSRuleSourceData*); | 99 void fixUnparsedPropertyRanges(CSSRuleSourceData*); |
100 | 100 |
101 const String& m_parsedText; | 101 const String& m_parsedText; |
102 Document* m_document; | 102 RawPtrWillBeMember<Document> m_document; |
103 RuleSourceDataList* m_result; | 103 RuleSourceDataList* m_result; |
104 RuleSourceDataList m_currentRuleDataStack; | 104 RuleSourceDataList m_currentRuleDataStack; |
105 RefPtrWillBeMember<CSSRuleSourceData> m_currentRuleData; | 105 RefPtrWillBeMember<CSSRuleSourceData> m_currentRuleData; |
106 RefPtrWillBeMember<CSSMediaQuerySourceData> m_currentMediaQueryData; | 106 RefPtrWillBeMember<CSSMediaQuerySourceData> m_currentMediaQueryData; |
107 unsigned m_mediaQueryExpValueRangeStart; | 107 unsigned m_mediaQueryExpValueRangeStart; |
108 }; | 108 }; |
109 | 109 |
110 void StyleSheetHandler::startRuleHeader(StyleRule::Type type, unsigned offset) | 110 void StyleSheetHandler::startRuleHeader(StyleRule::Type type, unsigned offset) |
111 { | 111 { |
112 // Pop off data for a previous invalid rule. | 112 // Pop off data for a previous invalid rule. |
(...skipping 1820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1933 | 1933 |
1934 DEFINE_TRACE(InspectorStyleSheetForInlineStyle) | 1934 DEFINE_TRACE(InspectorStyleSheetForInlineStyle) |
1935 { | 1935 { |
1936 visitor->trace(m_element); | 1936 visitor->trace(m_element); |
1937 visitor->trace(m_ruleSourceData); | 1937 visitor->trace(m_ruleSourceData); |
1938 visitor->trace(m_inspectorStyle); | 1938 visitor->trace(m_inspectorStyle); |
1939 InspectorStyleSheetBase::trace(visitor); | 1939 InspectorStyleSheetBase::trace(visitor); |
1940 } | 1940 } |
1941 | 1941 |
1942 } // namespace blink | 1942 } // namespace blink |
OLD | NEW |