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

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

Issue 238863002: Implement drawFocusIfNeeded with Path2D parameter. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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.h
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.h b/Source/core/html/canvas/CanvasRenderingContext2D.h
index 9ec9e57a6d904db4d72c31eaf679a3646dde6eff..70e8e5b4451b1a71566610b70127b857df604a31 100644
--- a/Source/core/html/canvas/CanvasRenderingContext2D.h
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.h
@@ -230,6 +230,7 @@ public:
PassRefPtr<Canvas2DContextAttributes> getContextAttributes() const;
void drawFocusIfNeeded(Element*);
+ void drawFocusIfNeeded(Path2D*, Element*);
bool drawCustomFocusRing(Element*);
void loseContext();
@@ -332,6 +333,7 @@ private:
template<class T> void fullCanvasCompositedStroke(const T&);
template<class T> void fullCanvasCompositedDrawImage(T*, const FloatRect&, const FloatRect&, CompositeOperator);
+ void drawFocusIfNeededInternal(const Path&, Element*);
bool focusRingCallIsValid(const Path&, Element*);
void updateFocusRingAccessibility(const Path&, Element*);
void drawFocusRing(const Path&);

Powered by Google App Engine
This is Rietveld 408576698