| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) | 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) |
| 3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> | 3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> |
| 4 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 4 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
| 5 Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 5 Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. |
| 6 | 6 |
| 7 This library is free software; you can redistribute it and/or | 7 This library is free software; you can redistribute it and/or |
| 8 modify it under the terms of the GNU Library General Public | 8 modify it under the terms of the GNU Library General Public |
| 9 License as published by the Free Software Foundation; either | 9 License as published by the Free Software Foundation; either |
| 10 version 2 of the License, or (at your option) any later version. | 10 version 2 of the License, or (at your option) any later version. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "platform/geometry/IntSizeHash.h" | 30 #include "platform/geometry/IntSizeHash.h" |
| 31 #include "platform/geometry/LayoutSize.h" | 31 #include "platform/geometry/LayoutSize.h" |
| 32 #include "platform/graphics/ImageObserver.h" | 32 #include "platform/graphics/ImageObserver.h" |
| 33 #include "platform/graphics/ImageOrientation.h" | 33 #include "platform/graphics/ImageOrientation.h" |
| 34 #include "wtf/HashMap.h" | 34 #include "wtf/HashMap.h" |
| 35 #include <memory> | 35 #include <memory> |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 class FetchRequest; | 39 class FetchRequest; |
| 40 class FloatSize; | |
| 41 class ImageResourceObserver; | 40 class ImageResourceObserver; |
| 42 class MemoryCache; | 41 class MemoryCache; |
| 43 class ResourceClient; | 42 class ResourceClient; |
| 44 class ResourceFetcher; | 43 class ResourceFetcher; |
| 45 class SecurityOrigin; | 44 class SecurityOrigin; |
| 46 | 45 |
| 47 // ImageResource class represents an image type resource. | 46 // ImageResource class represents an image type resource. |
| 48 // | 47 // |
| 49 // As for the lifetimes of m_image and m_data, see this document: | 48 // As for the lifetimes of m_image and m_data, see this document: |
| 50 // https://docs.google.com/document/d/1v0yTAZ6wkqX2U_M6BNIGUJpM1s0TIw1VsqpxoL7ac
iY/edit?usp=sharing | 49 // https://docs.google.com/document/d/1v0yTAZ6wkqX2U_M6BNIGUJpM1s0TIw1VsqpxoL7ac
iY/edit?usp=sharing |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 // Indicates if this ImageResource is either attempting to load a placeholder | 217 // Indicates if this ImageResource is either attempting to load a placeholder |
| 219 // image, or is a (possibly broken) placeholder image. | 218 // image, or is a (possibly broken) placeholder image. |
| 220 bool m_isPlaceholder; | 219 bool m_isPlaceholder; |
| 221 }; | 220 }; |
| 222 | 221 |
| 223 DEFINE_RESOURCE_TYPE_CASTS(Image); | 222 DEFINE_RESOURCE_TYPE_CASTS(Image); |
| 224 | 223 |
| 225 } // namespace blink | 224 } // namespace blink |
| 226 | 225 |
| 227 #endif | 226 #endif |
| OLD | NEW |