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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLCanvasElement.h

Issue 2463703003: blink: Cleanup core class forward declarations (Closed)
Patch Set: Created 4 years, 1 month 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) 2004, 2006, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 3 * Copyright (C) 2007 Alp Toker <alp@atoker.com>
4 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. 4 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "platform/geometry/IntSize.h" 44 #include "platform/geometry/IntSize.h"
45 #include "platform/graphics/CanvasSurfaceLayerBridge.h" 45 #include "platform/graphics/CanvasSurfaceLayerBridge.h"
46 #include "platform/graphics/GraphicsTypes.h" 46 #include "platform/graphics/GraphicsTypes.h"
47 #include "platform/graphics/GraphicsTypes3D.h" 47 #include "platform/graphics/GraphicsTypes3D.h"
48 #include "platform/graphics/ImageBufferClient.h" 48 #include "platform/graphics/ImageBufferClient.h"
49 #include "platform/heap/Handle.h" 49 #include "platform/heap/Handle.h"
50 #include <memory> 50 #include <memory>
51 51
52 #define CanvasDefaultInterpolationQuality InterpolationLow 52 #define CanvasDefaultInterpolationQuality InterpolationLow
53 53
54 class SkColorSpace;
55 54
56 namespace blink { 55 namespace blink {
57 56
58 class AffineTransform; 57 class AffineTransform;
59 class CanvasContextCreationAttributes; 58 class CanvasContextCreationAttributes;
60 class CanvasRenderingContext; 59 class CanvasRenderingContext;
61 class CanvasRenderingContextFactory; 60 class CanvasRenderingContextFactory;
62 class GraphicsContext; 61 class GraphicsContext;
63 class HitTestCanvasResult; 62 class HitTestCanvasResult;
64 class HTMLCanvasElement; 63 class HTMLCanvasElement;
65 class Image; 64 class Image;
66 class ImageBitmapOptions; 65 class ImageBitmapOptions;
67 class ImageBuffer; 66 class ImageBuffer;
68 class ImageBufferSurface; 67 class ImageBufferSurface;
69 class ImageData; 68 class ImageData;
70 class IntSize; 69 class IntSize;
71 class WebGraphicsContext3DProvider;
72 70
73 class 71 class
74 CanvasRenderingContext2DOrWebGLRenderingContextOrWebGL2RenderingContextOrIma geBitmapRenderingContext; 72 CanvasRenderingContext2DOrWebGLRenderingContextOrWebGL2RenderingContextOrIma geBitmapRenderingContext;
75 typedef CanvasRenderingContext2DOrWebGLRenderingContextOrWebGL2RenderingContextO rImageBitmapRenderingContext 73 typedef CanvasRenderingContext2DOrWebGLRenderingContextOrWebGL2RenderingContextO rImageBitmapRenderingContext
76 RenderingContext; 74 RenderingContext;
77 75
78 class CORE_EXPORT HTMLCanvasElement final : public HTMLElement, 76 class CORE_EXPORT HTMLCanvasElement final : public HTMLElement,
79 public ContextLifecycleObserver, 77 public ContextLifecycleObserver,
80 public PageVisibilityObserver, 78 public PageVisibilityObserver,
81 public CanvasImageSource, 79 public CanvasImageSource,
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 // Used for OffscreenCanvas that controls this HTML canvas element 303 // Used for OffscreenCanvas that controls this HTML canvas element
306 std::unique_ptr<CanvasSurfaceLayerBridge> m_surfaceLayerBridge; 304 std::unique_ptr<CanvasSurfaceLayerBridge> m_surfaceLayerBridge;
307 305
308 int m_numFramesSinceLastRenderingModeSwitch; 306 int m_numFramesSinceLastRenderingModeSwitch;
309 bool m_pendingRenderingModeSwitch; 307 bool m_pendingRenderingModeSwitch;
310 }; 308 };
311 309
312 } // namespace blink 310 } // namespace blink
313 311
314 #endif // HTMLCanvasElement_h 312 #endif // HTMLCanvasElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698