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

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

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 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) 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 SkCanvas* existingDrawingCanvas() const; 118 SkCanvas* existingDrawingCanvas() const;
119 119
120 void setRenderingContext(PassOwnPtrWillBeRawPtr<CanvasRenderingContext>); 120 void setRenderingContext(PassOwnPtrWillBeRawPtr<CanvasRenderingContext>);
121 CanvasRenderingContext* renderingContext() const { return m_context.get(); } 121 CanvasRenderingContext* renderingContext() const { return m_context.get(); }
122 122
123 void ensureUnacceleratedImageBuffer(); 123 void ensureUnacceleratedImageBuffer();
124 ImageBuffer* buffer() const; 124 ImageBuffer* buffer() const;
125 PassRefPtr<Image> copiedImage(SourceDrawingBuffer, AccelerationHint) const; 125 PassRefPtr<Image> copiedImage(SourceDrawingBuffer, AccelerationHint) const;
126 void clearCopiedImage(); 126 void clearCopiedImage();
127 127
128 SecurityOrigin* securityOrigin() const; 128 SecurityOrigin* getSecurityOrigin() const;
129 bool originClean() const; 129 bool originClean() const;
130 void setOriginTainted() { m_originClean = false; } 130 void setOriginTainted() { m_originClean = false; }
131 131
132 AffineTransform baseTransform() const; 132 AffineTransform baseTransform() const;
133 133
134 bool is3D() const; 134 bool is3D() const;
135 bool isAnimated2D() const; 135 bool isAnimated2D() const;
136 136
137 bool hasImageBuffer() const { return m_imageBuffer; } 137 bool hasImageBuffer() const { return m_imageBuffer; }
138 void discardImageBuffer(); 138 void discardImageBuffer();
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 mutable bool m_didFailToCreateImageBuffer; 230 mutable bool m_didFailToCreateImageBuffer;
231 bool m_imageBufferIsClear; 231 bool m_imageBufferIsClear;
232 OwnPtr<ImageBuffer> m_imageBuffer; 232 OwnPtr<ImageBuffer> m_imageBuffer;
233 233
234 mutable RefPtr<Image> m_copiedImage; // FIXME: This is temporary for platfor ms that have to copy the image buffer to render (and for CSSCanvasValue). 234 mutable RefPtr<Image> m_copiedImage; // FIXME: This is temporary for platfor ms that have to copy the image buffer to render (and for CSSCanvasValue).
235 }; 235 };
236 236
237 } // namespace blink 237 } // namespace blink
238 238
239 #endif // HTMLCanvasElement_h 239 #endif // HTMLCanvasElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLAnchorElement.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