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/modules/canvas2d/CanvasRenderingContext2D.h

Issue 2466383004: blink: Cleanup 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) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights
3 * reserved. 3 * 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 namespace blink { 45 namespace blink {
46 class WebLayer; 46 class WebLayer;
47 } 47 }
48 48
49 namespace blink { 49 namespace blink {
50 50
51 class CanvasImageSource; 51 class CanvasImageSource;
52 class Element; 52 class Element;
53 class ExceptionState; 53 class ExceptionState;
54 class FloatRect;
55 class FloatSize;
56 class Font; 54 class Font;
57 class FontMetrics; 55 class FontMetrics;
58 class HitRegion; 56 class HitRegion;
59 class HitRegionOptions; 57 class HitRegionOptions;
60 class HitRegionManager; 58 class HitRegionManager;
61 class HitTestCanvasResult; 59 class HitTestCanvasResult;
62 class Path2D; 60 class Path2D;
63 class SVGMatrixTearOff;
64 class TextMetrics; 61 class TextMetrics;
65 62
66 typedef CSSImageValueOrHTMLImageElementOrHTMLVideoElementOrHTMLCanvasElementOrIm ageBitmapOrOffscreenCanvas 63 typedef CSSImageValueOrHTMLImageElementOrHTMLVideoElementOrHTMLCanvasElementOrIm ageBitmapOrOffscreenCanvas
67 CanvasImageSourceUnion; 64 CanvasImageSourceUnion;
68 65
69 class MODULES_EXPORT CanvasRenderingContext2D final 66 class MODULES_EXPORT CanvasRenderingContext2D final
70 : public CanvasRenderingContext, 67 : public CanvasRenderingContext,
71 public BaseRenderingContext2D, 68 public BaseRenderingContext2D,
72 public WebThread::TaskObserver, 69 public WebThread::TaskObserver,
73 public SVGResourceClient { 70 public SVGResourceClient {
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 254
258 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, 255 DEFINE_TYPE_CASTS(CanvasRenderingContext2D,
259 CanvasRenderingContext, 256 CanvasRenderingContext,
260 context, 257 context,
261 context->is2d() && context->canvas(), 258 context->is2d() && context->canvas(),
262 context.is2d() && context.canvas()); 259 context.is2d() && context.canvas());
263 260
264 } // namespace blink 261 } // namespace blink
265 262
266 #endif // CanvasRenderingContext2D_h 263 #endif // CanvasRenderingContext2D_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698