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

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

Issue 214153006: Oilpan: move ImageData to the oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv ed.
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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 float dx = 0, float dy = 0, float dw = 0, float dh = 0, const String& compositeOperation = emptyString()); 186 float dx = 0, float dy = 0, float dw = 0, float dh = 0, const String& compositeOperation = emptyString());
187 187
188 void setAlpha(float); 188 void setAlpha(float);
189 189
190 void setCompositeOperation(const String&); 190 void setCompositeOperation(const String&);
191 191
192 PassRefPtr<CanvasGradient> createLinearGradient(float x0, float y0, float x1 , float y1, ExceptionState&); 192 PassRefPtr<CanvasGradient> createLinearGradient(float x0, float y0, float x1 , float y1, ExceptionState&);
193 PassRefPtr<CanvasGradient> createRadialGradient(float x0, float y0, float r0 , float x1, float y1, float r1, ExceptionState&); 193 PassRefPtr<CanvasGradient> createRadialGradient(float x0, float y0, float r0 , float x1, float y1, float r1, ExceptionState&);
194 PassRefPtr<CanvasPattern> createPattern(CanvasImageSource*, const String& re petitionType, ExceptionState&); 194 PassRefPtr<CanvasPattern> createPattern(CanvasImageSource*, const String& re petitionType, ExceptionState&);
195 195
196 PassRefPtr<ImageData> createImageData(PassRefPtr<ImageData>, ExceptionState& ) const; 196 PassRefPtrWillBeRawPtr<ImageData> createImageData(PassRefPtrWillBeRawPtr<Ima geData>, ExceptionState&) const;
197 PassRefPtr<ImageData> createImageData(float width, float height, ExceptionSt ate&) const; 197 PassRefPtrWillBeRawPtr<ImageData> createImageData(float width, float height, ExceptionState&) const;
198 PassRefPtr<ImageData> getImageData(float sx, float sy, float sw, float sh, E xceptionState&) const; 198 PassRefPtrWillBeRawPtr<ImageData> getImageData(float sx, float sy, float sw, float sh, ExceptionState&) const;
199 void putImageData(ImageData*, float dx, float dy, ExceptionState&); 199 void putImageData(ImageData*, float dx, float dy, ExceptionState&);
200 void putImageData(ImageData*, float dx, float dy, float dirtyX, float dirtyY , float dirtyWidth, float dirtyHeight, ExceptionState&); 200 void putImageData(ImageData*, float dx, float dy, float dirtyX, float dirtyY , float dirtyWidth, float dirtyHeight, ExceptionState&);
201 201
202 void reset(); 202 void reset();
203 203
204 String font() const; 204 String font() const;
205 void setFont(const String&); 205 void setFont(const String&);
206 206
207 String textAlign() const; 207 String textAlign() const;
208 void setTextAlign(const String&); 208 void setTextAlign(const String&);
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 bool m_usesCSSCompatibilityParseMode; 335 bool m_usesCSSCompatibilityParseMode;
336 bool m_hasAlpha; 336 bool m_hasAlpha;
337 MutableStylePropertyMap m_fetchedFonts; 337 MutableStylePropertyMap m_fetchedFonts;
338 }; 338 };
339 339
340 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, CanvasRenderingContext, context, con text->is2d(), context.is2d()); 340 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, CanvasRenderingContext, context, con text->is2d(), context.is2d());
341 341
342 } // namespace WebCore 342 } // namespace WebCore
343 343
344 #endif 344 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698