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

Side by Side Diff: Source/core/frame/ImageBitmap.h

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/frame/ImageBitmap.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 ImageBitmap_h
6 #define ImageBitmap_h 6 #define ImageBitmap_h
7 7
8 #include "bindings/v8/ScriptWrappable.h" 8 #include "bindings/v8/ScriptWrappable.h"
9 #include "core/html/HTMLImageElement.h" 9 #include "core/html/HTMLImageElement.h"
10 #include "core/platform/graphics/Image.h"
11 #include "platform/geometry/IntRect.h" 10 #include "platform/geometry/IntRect.h"
11 #include "platform/graphics/Image.h"
12 #include "wtf/PassRefPtr.h" 12 #include "wtf/PassRefPtr.h"
13 #include "wtf/RefCounted.h" 13 #include "wtf/RefCounted.h"
14 14
15 namespace WebCore { 15 namespace WebCore {
16 16
17 class HTMLCanvasElement; 17 class HTMLCanvasElement;
18 class HTMLVideoElement; 18 class HTMLVideoElement;
19 class ImageData; 19 class ImageData;
20 20
21 class ImageBitmap : public RefCounted<ImageBitmap>, public ScriptWrappable, publ ic ImageLoaderClient { 21 class ImageBitmap : public RefCounted<ImageBitmap>, public ScriptWrappable, publ ic ImageLoaderClient {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // The offset by which the desired Image is stored internally. 63 // The offset by which the desired Image is stored internally.
64 // ImageBitmaps constructed from HTMLImageElements reference the entire Imag eResource and may have a non-zero bitmap offset. 64 // ImageBitmaps constructed from HTMLImageElements reference the entire Imag eResource and may have a non-zero bitmap offset.
65 // ImageBitmaps not constructed from HTMLImageElements always pre-crop and s tore the image at (0, 0). 65 // ImageBitmaps not constructed from HTMLImageElements always pre-crop and s tore the image at (0, 0).
66 IntPoint m_bitmapOffset; 66 IntPoint m_bitmapOffset;
67 67
68 }; 68 };
69 69
70 } // namespace WebCore 70 } // namespace WebCore
71 71
72 #endif // ImageBitmap_h 72 #endif // ImageBitmap_h
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/frame/ImageBitmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698