| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ImageBitmap_h | 5 #ifndef SKY_ENGINE_CORE_FRAME_IMAGEBITMAP_H_ |
| 6 #define ImageBitmap_h | 6 #define SKY_ENGINE_CORE_FRAME_IMAGEBITMAP_H_ |
| 7 | 7 |
| 8 #include "sky/engine/bindings/core/v8/ScriptWrappable.h" | 8 #include "sky/engine/bindings/core/v8/ScriptWrappable.h" |
| 9 #include "sky/engine/core/html/HTMLImageElement.h" | 9 #include "sky/engine/core/html/HTMLImageElement.h" |
| 10 #include "sky/engine/core/html/canvas/CanvasImageSource.h" | 10 #include "sky/engine/core/html/canvas/CanvasImageSource.h" |
| 11 #include "sky/engine/platform/geometry/IntRect.h" | 11 #include "sky/engine/platform/geometry/IntRect.h" |
| 12 #include "sky/engine/platform/graphics/Image.h" | 12 #include "sky/engine/platform/graphics/Image.h" |
| 13 #include "sky/engine/platform/heap/Handle.h" | 13 #include "sky/engine/platform/heap/Handle.h" |
| 14 #include "sky/engine/wtf/PassRefPtr.h" | 14 #include "sky/engine/wtf/PassRefPtr.h" |
| 15 #include "sky/engine/wtf/RefCounted.h" | 15 #include "sky/engine/wtf/RefCounted.h" |
| 16 | 16 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 // The offset by which the desired Image is stored internally. | 66 // The offset by which the desired Image is stored internally. |
| 67 // ImageBitmaps constructed from HTMLImageElements reference the entire Imag
eResource and may have a non-zero bitmap offset. | 67 // ImageBitmaps constructed from HTMLImageElements reference the entire Imag
eResource and may have a non-zero bitmap offset. |
| 68 // ImageBitmaps not constructed from HTMLImageElements always pre-crop and s
tore the image at (0, 0). | 68 // ImageBitmaps not constructed from HTMLImageElements always pre-crop and s
tore the image at (0, 0). |
| 69 IntPoint m_bitmapOffset; | 69 IntPoint m_bitmapOffset; |
| 70 | 70 |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 } // namespace blink | 73 } // namespace blink |
| 74 | 74 |
| 75 #endif // ImageBitmap_h | 75 #endif // SKY_ENGINE_CORE_FRAME_IMAGEBITMAP_H_ |
| OLD | NEW |