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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSSVGDocumentValue.h

Issue 1858753003: Remove RawPtr from core/css (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 16 matching lines...) Expand all
27 27
28 #include "core/css/CSSValue.h" 28 #include "core/css/CSSValue.h"
29 #include "core/fetch/DocumentResource.h" 29 #include "core/fetch/DocumentResource.h"
30 30
31 namespace blink { 31 namespace blink {
32 32
33 class Document; 33 class Document;
34 34
35 class CSSSVGDocumentValue : public CSSValue { 35 class CSSSVGDocumentValue : public CSSValue {
36 public: 36 public:
37 static RawPtr<CSSSVGDocumentValue> create(const String& url) 37 static CSSSVGDocumentValue* create(const String& url)
38 { 38 {
39 return new CSSSVGDocumentValue(url); 39 return new CSSSVGDocumentValue(url);
40 } 40 }
41 ~CSSSVGDocumentValue(); 41 ~CSSSVGDocumentValue();
42 42
43 DocumentResource* cachedSVGDocument() const { return m_document.get(); } 43 DocumentResource* cachedSVGDocument() const { return m_document.get(); }
44 DocumentResource* load(Document*); 44 DocumentResource* load(Document*);
45 45
46 String customCSSText() const; 46 String customCSSText() const;
47 const String& url() const { return m_url; } 47 const String& url() const { return m_url; }
(...skipping 12 matching lines...) Expand all
60 String m_url; 60 String m_url;
61 Member<DocumentResource> m_document; 61 Member<DocumentResource> m_document;
62 bool m_loadRequested; 62 bool m_loadRequested;
63 }; 63 };
64 64
65 DEFINE_CSS_VALUE_TYPE_CASTS(CSSSVGDocumentValue, isSVGDocumentValue()); 65 DEFINE_CSS_VALUE_TYPE_CASTS(CSSSVGDocumentValue, isSVGDocumentValue());
66 66
67 } // namespace blink 67 } // namespace blink
68 68
69 #endif // CSSSVGDocumentValue_h 69 #endif // CSSSVGDocumentValue_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSRuleList.h ('k') | third_party/WebKit/Source/core/css/CSSSegmentedFontFace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698