Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Side by Side Diff: Source/core/inspector/InspectorStyleSheet.h

Issue 1186613005: DevTools: migrate inspector's ParsedStyleSheet to Oilpan. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: finalized Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/inspector/InspectorStyleSheet.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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)
OLDNEW
« no previous file with comments | « no previous file | Source/core/inspector/InspectorStyleSheet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698