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

Side by Side Diff: Source/core/css/CSSImageSetValue.cpp

Issue 18733007: core/css: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 7 years, 5 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 | « Source/core/css/CSSImageGeneratorValue.h ('k') | Source/core/css/CSSImageValue.h » ('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) 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2012 Apple 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 18 matching lines...) Expand all
29 #include "core/css/CSSImageValue.h" 29 #include "core/css/CSSImageValue.h"
30 #include "core/css/CSSPrimitiveValue.h" 30 #include "core/css/CSSPrimitiveValue.h"
31 #include "core/dom/Document.h" 31 #include "core/dom/Document.h"
32 #include "core/dom/WebCoreMemoryInstrumentation.h" 32 #include "core/dom/WebCoreMemoryInstrumentation.h"
33 #include "core/loader/cache/CachedImage.h" 33 #include "core/loader/cache/CachedImage.h"
34 #include "core/loader/cache/CachedResourceLoader.h" 34 #include "core/loader/cache/CachedResourceLoader.h"
35 #include "core/loader/cache/CachedResourceRequest.h" 35 #include "core/loader/cache/CachedResourceRequest.h"
36 #include "core/loader/cache/CachedResourceRequestInitiators.h" 36 #include "core/loader/cache/CachedResourceRequestInitiators.h"
37 #include "core/rendering/style/StyleCachedImageSet.h" 37 #include "core/rendering/style/StyleCachedImageSet.h"
38 #include "core/rendering/style/StylePendingImage.h" 38 #include "core/rendering/style/StylePendingImage.h"
39 #include <wtf/MemoryInstrumentationVector.h> 39 #include "wtf/MemoryInstrumentationVector.h"
40 40
41 namespace WebCore { 41 namespace WebCore {
42 42
43 CSSImageSetValue::CSSImageSetValue() 43 CSSImageSetValue::CSSImageSetValue()
44 : CSSValueList(ImageSetClass, CommaSeparator) 44 : CSSValueList(ImageSetClass, CommaSeparator)
45 , m_accessedBestFitImage(false) 45 , m_accessedBestFitImage(false)
46 , m_scaleFactor(1) 46 , m_scaleFactor(1)
47 { 47 {
48 } 48 }
49 49
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 info.addMember(m_imagesInSet, "imagesInSet"); 190 info.addMember(m_imagesInSet, "imagesInSet");
191 } 191 }
192 192
193 void CSSImageSetValue::ImageWithScale::reportMemoryUsage(MemoryObjectInfo* memor yObjectInfo) const 193 void CSSImageSetValue::ImageWithScale::reportMemoryUsage(MemoryObjectInfo* memor yObjectInfo) const
194 { 194 {
195 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); 195 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
196 info.addMember(imageURL, "imageURL"); 196 info.addMember(imageURL, "imageURL");
197 } 197 }
198 198
199 } // namespace WebCore 199 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/CSSImageGeneratorValue.h ('k') | Source/core/css/CSSImageValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698