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

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

Issue 72363002: Rename es => exceptionState in other than bindings/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Retry Created 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/Location.cpp ('k') | Source/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 setWidth(newSize.width()); 83 setWidth(newSize.width());
84 setHeight(newSize.height()); 84 setHeight(newSize.height());
85 m_ignoreReset = false; 85 m_ignoreReset = false;
86 reset(); 86 reset();
87 } 87 }
88 88
89 CanvasRenderingContext* getContext(const String&, CanvasContextAttributes* a ttributes = 0); 89 CanvasRenderingContext* getContext(const String&, CanvasContextAttributes* a ttributes = 0);
90 90
91 static String toEncodingMimeType(const String& mimeType); 91 static String toEncodingMimeType(const String& mimeType);
92 String toDataURL(const String& mimeType, const double* quality, ExceptionSta te&); 92 String toDataURL(const String& mimeType, const double* quality, ExceptionSta te&);
93 String toDataURL(const String& mimeType, ExceptionState& es) { return toData URL(mimeType, 0, es); } 93 String toDataURL(const String& mimeType, ExceptionState& exceptionState) { r eturn toDataURL(mimeType, 0, exceptionState); }
94 94
95 // Used for rendering 95 // Used for rendering
96 void didDraw(const FloatRect&); 96 void didDraw(const FloatRect&);
97 void notifyObserversCanvasChanged(const FloatRect&); 97 void notifyObserversCanvasChanged(const FloatRect&);
98 98
99 void paint(GraphicsContext*, const LayoutRect&, bool useLowQualityScale = fa lse); 99 void paint(GraphicsContext*, const LayoutRect&, bool useLowQualityScale = fa lse);
100 100
101 GraphicsContext* drawingContext() const; 101 GraphicsContext* drawingContext() const;
102 GraphicsContext* existingDrawingContext() const; 102 GraphicsContext* existingDrawingContext() const;
103 103
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 mutable RefPtr<Image> m_presentedImage; 173 mutable RefPtr<Image> m_presentedImage;
174 mutable RefPtr<Image> m_copiedImage; // FIXME: This is temporary for platfor ms that have to copy the image buffer to render (and for CSSCanvasValue). 174 mutable RefPtr<Image> m_copiedImage; // FIXME: This is temporary for platfor ms that have to copy the image buffer to render (and for CSSCanvasValue).
175 }; 175 };
176 176
177 DEFINE_NODE_TYPE_CASTS(HTMLCanvasElement, hasTagName(HTMLNames::canvasTag)); 177 DEFINE_NODE_TYPE_CASTS(HTMLCanvasElement, hasTagName(HTMLNames::canvasTag));
178 178
179 } //namespace 179 } //namespace
180 180
181 #endif 181 #endif
OLDNEW
« no previous file with comments | « Source/core/frame/Location.cpp ('k') | Source/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698