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/platform/graphics/BitmapImage.cpp

Issue 18551004: Miscellaneous cleanup to reduce number of includes in platform/graphics/ Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) 2 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
3 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 16 matching lines...) Expand all
27 #include "config.h" 27 #include "config.h"
28 #include "core/platform/graphics/BitmapImage.h" 28 #include "core/platform/graphics/BitmapImage.h"
29 29
30 #include "core/platform/PlatformMemoryInstrumentation.h" 30 #include "core/platform/PlatformMemoryInstrumentation.h"
31 #include "core/platform/Timer.h" 31 #include "core/platform/Timer.h"
32 #include "core/platform/graphics/FloatRect.h" 32 #include "core/platform/graphics/FloatRect.h"
33 #include "core/platform/graphics/GraphicsContextStateSaver.h" 33 #include "core/platform/graphics/GraphicsContextStateSaver.h"
34 #include "core/platform/graphics/ImageObserver.h" 34 #include "core/platform/graphics/ImageObserver.h"
35 #include "core/platform/graphics/skia/NativeImageSkia.h" 35 #include "core/platform/graphics/skia/NativeImageSkia.h"
36 #include "core/platform/graphics/skia/SkiaUtils.h" 36 #include "core/platform/graphics/skia/SkiaUtils.h"
37 #include "core/platform/graphics/transforms/AffineTransform.h"
37 #include "wtf/CurrentTime.h" 38 #include "wtf/CurrentTime.h"
38 #include "wtf/MemoryInstrumentationVector.h" 39 #include "wtf/MemoryInstrumentationVector.h"
39 #include "wtf/MemoryObjectInfo.h" 40 #include "wtf/MemoryObjectInfo.h"
40 #include "wtf/PassRefPtr.h" 41 #include "wtf/PassRefPtr.h"
41 #include "wtf/Vector.h" 42 #include "wtf/Vector.h"
42 #include "wtf/text/WTFString.h" 43 #include "wtf/text/WTFString.h"
43 44
44 namespace WebCore { 45 namespace WebCore {
45 46
46 BitmapImage::BitmapImage(ImageObserver* observer) 47 BitmapImage::BitmapImage(ImageObserver* observer)
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 } 672 }
672 673
673 void FrameData::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const 674 void FrameData::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
674 { 675 {
675 MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Image); 676 MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Image);
676 memoryObjectInfo->setClassName("FrameData"); 677 memoryObjectInfo->setClassName("FrameData");
677 info.addMember(m_frame, "frame"); 678 info.addMember(m_frame, "frame");
678 } 679 }
679 680
680 } 681 }
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/AnnotationMode.h ('k') | Source/core/platform/graphics/CustomFontNotReadyAction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698