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

Unified Diff: Source/core/html/canvas/CanvasRenderingContext2D.idl

Issue 19786002: Implement canvas focus ring methods. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/html/canvas/CanvasRenderingContext2D.idl
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.idl b/Source/core/html/canvas/CanvasRenderingContext2D.idl
index ed6cbc44aab2df55d18300d6320f9e690c8f9d6c..de8f522a73fe7ecab68ffc31ac4220e15903b67c 100644
--- a/Source/core/html/canvas/CanvasRenderingContext2D.idl
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.idl
@@ -159,6 +159,12 @@ interface CanvasRenderingContext2D : CanvasRenderingContext {
[RaisesException] ImageData webkitGetImageDataHD(float sx, float sy, float sw, float sh);
+ // Focus rings
+ void drawSystemFocusRing(Element element);
+ void drawSystemFocusRing(Path path, Element element);
+ boolean drawCustomFocusRing(Element element);
+ boolean drawCustomFocusRing(Path path, Element element);
+
readonly attribute float webkitBackingStorePixelRatio;
attribute boolean webkitImageSmoothingEnabled;

Powered by Google App Engine
This is Rietveld 408576698