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

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

Issue 299823003: Enable canvas.drawFocusIfNeeded() by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove test Created 6 years, 7 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
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext2D.cpp ('k') | no next file » | 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) 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // path API (see also CanvasPathMethods) 89 // path API (see also CanvasPathMethods)
90 void beginPath(); 90 void beginPath();
91 // FIXME: Simplify these using optional CanvasFillRule once crbug.com/339000 gets fixed. 91 // FIXME: Simplify these using optional CanvasFillRule once crbug.com/339000 gets fixed.
92 void fill(); 92 void fill();
93 void fill(CanvasFillRule winding); 93 void fill(CanvasFillRule winding);
94 [RuntimeEnabled=Path2D] void fill(Path2D path); 94 [RuntimeEnabled=Path2D] void fill(Path2D path);
95 [RuntimeEnabled=Path2D] void fill(Path2D path, CanvasFillRule winding); 95 [RuntimeEnabled=Path2D] void fill(Path2D path, CanvasFillRule winding);
96 void stroke(); 96 void stroke();
97 [RuntimeEnabled=Path2D] void stroke(Path2D path); 97 [RuntimeEnabled=Path2D] void stroke(Path2D path);
98 // Focus rings 98 // Focus rings
99 [RuntimeEnabled=ExperimentalCanvasFeatures] void drawFocusIfNeeded(Element e lement); 99 void drawFocusIfNeeded(Element element);
100 [RuntimeEnabled=ExperimentalCanvasFeatures] void drawFocusIfNeeded(Path2D pa th, Element element); 100 [RuntimeEnabled=Path2D] void drawFocusIfNeeded(Path2D path, Element element) ;
101 [RuntimeEnabled=ExperimentalCanvasFeatures] boolean drawCustomFocusRing(Elem ent element); 101 [RuntimeEnabled=ExperimentalCanvasFeatures] boolean drawCustomFocusRing(Elem ent element);
102 102
103 [RuntimeEnabled=ExperimentalCanvasFeatures] void scrollPathIntoView(); 103 [RuntimeEnabled=ExperimentalCanvasFeatures] void scrollPathIntoView();
104 [RuntimeEnabled=ExperimentalCanvasFeatures] void scrollPathIntoView(Path2D p ath); 104 [RuntimeEnabled=ExperimentalCanvasFeatures] void scrollPathIntoView(Path2D p ath);
105 // FIXME: Simplify these using optional CanvasFillRule once crbug.com/339000 gets fixed. 105 // FIXME: Simplify these using optional CanvasFillRule once crbug.com/339000 gets fixed.
106 void clip(); 106 void clip();
107 void clip(CanvasFillRule winding); 107 void clip(CanvasFillRule winding);
108 [RuntimeEnabled=Path2D] void clip(Path2D path); 108 [RuntimeEnabled=Path2D] void clip(Path2D path);
109 [RuntimeEnabled=Path2D] void clip(Path2D path, CanvasFillRule winding); 109 [RuntimeEnabled=Path2D] void clip(Path2D path, CanvasFillRule winding);
110 // FIXME: Simplify these using optional CanvasFillRule once crbug.com/339000 gets fixed. 110 // FIXME: Simplify these using optional CanvasFillRule once crbug.com/339000 gets fixed.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 [MeasureAs=CanvasRenderingContext2DDrawImageFromRect] void drawImageFromRect ( 184 [MeasureAs=CanvasRenderingContext2DDrawImageFromRect] void drawImageFromRect (
185 HTMLImageElement? image, optional unrestricted float sx, optional unrest ricted float sy, optional unrestricted float sw, optional unrestricted float sh, 185 HTMLImageElement? image, optional unrestricted float sx, optional unrest ricted float sy, optional unrestricted float sw, optional unrestricted float sh,
186 optional unrestricted float dx, optional unrestricted float dy, optional unrestricted float dw, optional unrestricted float dh, optional DOMString compo siteOperation); 186 optional unrestricted float dx, optional unrestricted float dy, optional unrestricted float dw, optional unrestricted float dh, optional DOMString compo siteOperation);
187 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, optional DOMStrin g color, optional unrestricted float alpha); 187 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, optional DOMStrin g color, optional unrestricted float alpha);
188 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, unrestricted floa t grayLevel, optional unrestricted float alpha); 188 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, unrestricted floa t grayLevel, optional unrestricted float alpha);
189 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, unrestricted floa t r, unrestricted float g, unrestricted float b, unrestricted float a); 189 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, unrestricted floa t r, unrestricted float g, unrestricted float b, unrestricted float a);
190 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, unrestricted floa t c, unrestricted float m, unrestricted float y, unrestricted float k, unrestric ted float a); 190 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, unrestricted floa t c, unrestricted float m, unrestricted float y, unrestricted float k, unrestric ted float a);
191 }; 191 };
192 192
193 CanvasRenderingContext2D implements CanvasPathMethods; 193 CanvasRenderingContext2D implements CanvasPathMethods;
OLDNEW
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext2D.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698