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

Side by Side Diff: Source/modules/canvas2d/CanvasRenderingContext2D.h

Issue 1299323005: blink: Add backdrop-filter support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: removed some todos Created 5 years, 4 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 123
124 bool shouldAntialias() const; 124 bool shouldAntialias() const;
125 void setShouldAntialias(bool) override; 125 void setShouldAntialias(bool) override;
126 126
127 String globalCompositeOperation() const; 127 String globalCompositeOperation() const;
128 void setGlobalCompositeOperation(const String&); 128 void setGlobalCompositeOperation(const String&);
129 129
130 String filter() const; 130 String filter() const;
131 void setFilter(const String&); 131 void setFilter(const String&);
132 132
133 String backdropFilter() const;
134 void setBackdropFilter(const String&);
135
133 void save(); 136 void save();
134 void restore(); 137 void restore();
135 138
136 PassRefPtrWillBeRawPtr<SVGMatrixTearOff> currentTransform() const; 139 PassRefPtrWillBeRawPtr<SVGMatrixTearOff> currentTransform() const;
137 void setCurrentTransform(PassRefPtrWillBeRawPtr<SVGMatrixTearOff>); 140 void setCurrentTransform(PassRefPtrWillBeRawPtr<SVGMatrixTearOff>);
138 141
139 void scale(float sx, float sy); 142 void scale(float sx, float sy);
140 void rotate(float angleInRadians); 143 void rotate(float angleInRadians);
141 void translate(float tx, float ty); 144 void translate(float tx, float ty);
142 void transform(float m11, float m12, float m21, float m22, float dx, float d y); 145 void transform(float m11, float m12, float m21, float m22, float dx, float d y);
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 HashMap<String, Font> m_fontsResolvedUsingCurrentStyle; 319 HashMap<String, Font> m_fontsResolvedUsingCurrentStyle;
317 bool m_pruneLocalFontCacheScheduled; 320 bool m_pruneLocalFontCacheScheduled;
318 ListHashSet<String> m_fontLRUList; 321 ListHashSet<String> m_fontLRUList;
319 }; 322 };
320 323
321 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, CanvasRenderingContext, context, con text->is2d(), context.is2d()); 324 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, CanvasRenderingContext, context, con text->is2d(), context.is2d());
322 325
323 } // namespace blink 326 } // namespace blink
324 327
325 #endif // CanvasRenderingContext2D_h 328 #endif // CanvasRenderingContext2D_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698