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

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

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT Created 5 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // Used for rendering 104 // Used for rendering
105 void didDraw(const FloatRect&); 105 void didDraw(const FloatRect&);
106 106
107 void paint(GraphicsContext*, const LayoutRect&); 107 void paint(GraphicsContext*, const LayoutRect&);
108 108
109 SkCanvas* drawingCanvas() const; 109 SkCanvas* drawingCanvas() const;
110 void disableDeferral() const; 110 void disableDeferral() const;
111 SkCanvas* existingDrawingCanvas() const; 111 SkCanvas* existingDrawingCanvas() const;
112 112
113 void setRenderingContext(PassOwnPtrWillBeRawPtr<CanvasRenderingContext>); 113 void setRenderingContext(PassOwnPtrWillBeRawPtr<CanvasRenderingContext>);
114 CanvasRenderingContext* renderingContext() const { return m_context.get(); } 114 CanvasRenderingContext* renderingContext() const;
115 115
116 void ensureUnacceleratedImageBuffer(); 116 void ensureUnacceleratedImageBuffer();
117 ImageBuffer* buffer() const; 117 ImageBuffer* buffer() const;
118 PassRefPtr<Image> copiedImage(SourceDrawingBuffer, AccelerationHint) const; 118 PassRefPtr<Image> copiedImage(SourceDrawingBuffer, AccelerationHint) const;
119 void clearCopiedImage(); 119 void clearCopiedImage();
120 120
121 SecurityOrigin* securityOrigin() const; 121 SecurityOrigin* securityOrigin() const;
122 bool originClean() const; 122 bool originClean() const;
123 void setOriginTainted() { m_originClean = false; } 123 void setOriginTainted() { m_originClean = false; }
124 124
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 mutable bool m_didFailToCreateImageBuffer; 212 mutable bool m_didFailToCreateImageBuffer;
213 bool m_imageBufferIsClear; 213 bool m_imageBufferIsClear;
214 OwnPtr<ImageBuffer> m_imageBuffer; 214 OwnPtr<ImageBuffer> m_imageBuffer;
215 215
216 mutable RefPtr<Image> m_copiedImage; // FIXME: This is temporary for platfor ms that have to copy the image buffer to render (and for CSSCanvasValue). 216 mutable RefPtr<Image> m_copiedImage; // FIXME: This is temporary for platfor ms that have to copy the image buffer to render (and for CSSCanvasValue).
217 }; 217 };
218 218
219 } // namespace blink 219 } // namespace blink
220 220
221 #endif // HTMLCanvasElement_h 221 #endif // HTMLCanvasElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/FormData.cpp ('k') | third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698