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

Side by Side Diff: Source/core/html/canvas/CanvasRenderingContext.h

Issue 611593003: Clean up forward declarations in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months 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) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 20 matching lines...) Expand all
31 #include "wtf/HashSet.h" 31 #include "wtf/HashSet.h"
32 #include "wtf/Noncopyable.h" 32 #include "wtf/Noncopyable.h"
33 #include "wtf/text/StringHash.h" 33 #include "wtf/text/StringHash.h"
34 34
35 namespace blink { class WebLayer; } 35 namespace blink { class WebLayer; }
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class CanvasImageSource; 39 class CanvasImageSource;
40 class HTMLCanvasElement; 40 class HTMLCanvasElement;
41 class KURL;
42 class WebGLObject;
43 41
44 class CanvasRenderingContext : public NoBaseWillBeGarbageCollectedFinalized<Canv asRenderingContext> { 42 class CanvasRenderingContext : public NoBaseWillBeGarbageCollectedFinalized<Canv asRenderingContext> {
45 WTF_MAKE_NONCOPYABLE(CanvasRenderingContext); 43 WTF_MAKE_NONCOPYABLE(CanvasRenderingContext);
46 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; 44 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
47 public: 45 public:
48 virtual ~CanvasRenderingContext() { } 46 virtual ~CanvasRenderingContext() { }
49 47
50 #if !ENABLE(OILPAN) 48 #if !ENABLE(OILPAN)
51 void ref() { m_canvas->ref(); } 49 void ref() { m_canvas->ref(); }
52 void deref() { m_canvas->deref(); } 50 void deref() { m_canvas->deref(); }
(...skipping 20 matching lines...) Expand all
73 71
74 private: 72 private:
75 RawPtrWillBeMember<HTMLCanvasElement> m_canvas; 73 RawPtrWillBeMember<HTMLCanvasElement> m_canvas;
76 HashSet<String> m_cleanURLs; 74 HashSet<String> m_cleanURLs;
77 HashSet<String> m_dirtyURLs; 75 HashSet<String> m_dirtyURLs;
78 }; 76 };
79 77
80 } // namespace blink 78 } // namespace blink
81 79
82 #endif 80 #endif
OLDNEW
« no previous file with comments | « Source/core/html/canvas/CanvasPathMethods.h ('k') | Source/core/html/canvas/CanvasRenderingContext2D.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698