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

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

Issue 1406923009: Rename DISALLOW_ALLOCATION and ALLOW_ONLY_INLINE_ALLOCATION (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
4 * Copyright (C) 2013 Google Inc. All rights reserved. 4 * Copyright (C) 2013 Google Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 23 matching lines...) Expand all
34 class RenderStyle; 34 class RenderStyle;
35 class ShapeValue; 35 class ShapeValue;
36 class StyleImage; 36 class StyleImage;
37 class StylePendingImage; 37 class StylePendingImage;
38 38
39 // Manages loading of resources, requested by the stylesheets. 39 // Manages loading of resources, requested by the stylesheets.
40 // Expects the same lifetime as StyleResolver, because 40 // Expects the same lifetime as StyleResolver, because
41 // it expects Document to never change. 41 // it expects Document to never change.
42 class StyleResourceLoader final { 42 class StyleResourceLoader final {
43 WTF_MAKE_NONCOPYABLE(StyleResourceLoader); 43 WTF_MAKE_NONCOPYABLE(StyleResourceLoader);
44 DISALLOW_ALLOCATION(); 44 DISALLOW_NEW();
45 public: 45 public:
46 explicit StyleResourceLoader(Document*); 46 explicit StyleResourceLoader(Document*);
47 47
48 void loadPendingResources(ComputedStyle*, ElementStyleResources&); 48 void loadPendingResources(ComputedStyle*, ElementStyleResources&);
49 49
50 DECLARE_TRACE(); 50 DECLARE_TRACE();
51 51
52 private: 52 private:
53 void loadPendingSVGDocuments(ComputedStyle*, ElementStyleResources&); 53 void loadPendingSVGDocuments(ComputedStyle*, ElementStyleResources&);
54 54
55 PassRefPtrWillBeRawPtr<StyleImage> loadPendingImage(StylePendingImage*, floa t deviceScaleFactor); 55 PassRefPtrWillBeRawPtr<StyleImage> loadPendingImage(StylePendingImage*, floa t deviceScaleFactor);
56 void loadPendingImages(ComputedStyle*, ElementStyleResources&); 56 void loadPendingImages(ComputedStyle*, ElementStyleResources&);
57 void loadPendingShapeImage(ComputedStyle*, ShapeValue*, float deviceScaleFac tor); 57 void loadPendingShapeImage(ComputedStyle*, ShapeValue*, float deviceScaleFac tor);
58 58
59 RawPtrWillBeMember<Document> m_document; 59 RawPtrWillBeMember<Document> m_document;
60 }; 60 };
61 61
62 } // namespace blink 62 } // namespace blink
63 63
64 #endif // StyleResourceLoader_h 64 #endif // StyleResourceLoader_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.h ('k') | third_party/WebKit/Source/core/dom/Attribute.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698