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

Side by Side Diff: Source/core/svg/SVGGraphicsElement.cpp

Issue 810493003: Introduce "navigation target classification" for spatial navigation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
4 * Copyright (C) 2014 Google, Inc. 4 * Copyright (C) 2014 Google, Inc.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 // By default, any subclass is expected to do path-based drawing 271 // By default, any subclass is expected to do path-based drawing
272 return new RenderSVGPath(this); 272 return new RenderSVGPath(this);
273 } 273 }
274 274
275 void SVGGraphicsElement::toClipPath(Path& path) 275 void SVGGraphicsElement::toClipPath(Path& path)
276 { 276 {
277 updatePathFromGraphicsElement(this, path); 277 updatePathFromGraphicsElement(this, path);
278 path.transform(calculateAnimatedLocalTransform()); 278 path.transform(calculateAnimatedLocalTransform());
279 } 279 }
280 280
281 bool SVGGraphicsElement::hasFocusEventListeners() const
282 {
283 return hasEventListeners(EventTypeNames::focusin) || hasEventListeners(Event TypeNames::focusout)
284 || hasEventListeners(EventTypeNames::focus) || hasEventListeners(EventTy peNames::blur);
281 } 285 }
286
287 }
OLDNEW
« Source/core/page/FocusController.cpp ('K') | « Source/core/svg/SVGGraphicsElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698