| 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 bool startsAtZero() const; | 235 bool startsAtZero() const; |
| 236 | 236 |
| 237 void updateText(const String& newText); | 237 void updateText(const String& newText); |
| 238 Element* ownerStyleElement() const; | 238 Element* ownerStyleElement() const; |
| 239 | 239 |
| 240 RawPtrWillBeMember<InspectorCSSAgent> m_cssAgent; | 240 RawPtrWillBeMember<InspectorCSSAgent> m_cssAgent; |
| 241 RawPtrWillBeMember<InspectorResourceAgent> m_resourceAgent; | 241 RawPtrWillBeMember<InspectorResourceAgent> m_resourceAgent; |
| 242 RefPtrWillBeMember<CSSStyleSheet> m_pageStyleSheet; | 242 RefPtrWillBeMember<CSSStyleSheet> m_pageStyleSheet; |
| 243 TypeBuilder::CSS::StyleSheetOrigin::Enum m_origin; | 243 TypeBuilder::CSS::StyleSheetOrigin::Enum m_origin; |
| 244 String m_documentURL; | 244 String m_documentURL; |
| 245 OwnPtr<ParsedStyleSheet> m_parsedStyleSheet; | 245 OwnPtrWillBeMember<ParsedStyleSheet> m_parsedStyleSheet; |
| 246 mutable CSSRuleVector m_flatRules; | 246 mutable CSSRuleVector m_flatRules; |
| 247 mutable String m_sourceURL; | 247 mutable String m_sourceURL; |
| 248 }; | 248 }; |
| 249 | 249 |
| 250 class InspectorStyleSheetForInlineStyle final : public InspectorStyleSheetBase { | 250 class InspectorStyleSheetForInlineStyle final : public InspectorStyleSheetBase { |
| 251 public: | 251 public: |
| 252 static PassRefPtrWillBeRawPtr<InspectorStyleSheetForInlineStyle> create(cons
t String& id, PassRefPtrWillBeRawPtr<Element>, Listener*); | 252 static PassRefPtrWillBeRawPtr<InspectorStyleSheetForInlineStyle> create(cons
t String& id, PassRefPtrWillBeRawPtr<Element>, Listener*); |
| 253 | 253 |
| 254 void didModifyElementAttribute(); | 254 void didModifyElementAttribute(); |
| 255 virtual Document* ownerDocument() const override; | 255 virtual Document* ownerDocument() const override; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 284 mutable String m_styleText; | 284 mutable String m_styleText; |
| 285 mutable bool m_isStyleTextValid; | 285 mutable bool m_isStyleTextValid; |
| 286 }; | 286 }; |
| 287 | 287 |
| 288 | 288 |
| 289 } // namespace blink | 289 } // namespace blink |
| 290 | 290 |
| 291 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::InspectorStyleProperty); | 291 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::InspectorStyleProperty); |
| 292 | 292 |
| 293 #endif // !defined(InspectorStyleSheet_h) | 293 #endif // !defined(InspectorStyleSheet_h) |
| OLD | NEW |