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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAElement.cpp

Issue 2390773004: reflow comments in core/svg/ (Closed)
Patch Set: comments (heh!) Created 4 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGAngle.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGAElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGAElement.cpp b/third_party/WebKit/Source/core/svg/SVGAElement.cpp
index a954060db511c4e1b35d9b0869fc05c1294c3066..1c16d410de50dac3be3dc68cfb2db93cf37d45e0 100644
--- a/third_party/WebKit/Source/core/svg/SVGAElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAElement.cpp
@@ -80,8 +80,9 @@ String SVGAElement::title() const {
}
void SVGAElement::svgAttributeChanged(const QualifiedName& attrName) {
- // Unlike other SVG*Element classes, SVGAElement only listens to SVGURIReference changes
- // as none of the other properties changes the linking behaviour for our <a> element.
+ // Unlike other SVG*Element classes, SVGAElement only listens to
+ // SVGURIReference changes as none of the other properties changes the linking
+ // behaviour for our <a> element.
if (SVGURIReference::isKnownAttribute(attrName)) {
SVGElement::InvalidationGuard invalidationGuard(this);
@@ -155,7 +156,8 @@ short SVGAElement::tabIndex() const {
bool SVGAElement::supportsFocus() const {
if (hasEditableStyle(*this))
return SVGGraphicsElement::supportsFocus();
- // If not a link we should still be able to focus the element if it has tabIndex.
+ // If not a link we should still be able to focus the element if it has
+ // tabIndex.
return isLink() || SVGGraphicsElement::supportsFocus();
}
@@ -163,7 +165,8 @@ bool SVGAElement::shouldHaveFocusAppearance() const {
return !m_wasFocusedByMouse || SVGGraphicsElement::supportsFocus();
}
-// TODO(lanwei): Will add the InputDeviceCapabilities when SVGAElement gets focus later, see https://crbug.com/476530.
+// TODO(lanwei): Will add the InputDeviceCapabilities when SVGAElement gets
+// focus later, see https://crbug.com/476530.
void SVGAElement::dispatchFocusEvent(
Element* oldFocusedElement,
WebFocusType type,
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGAngle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698