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

Unified Diff: Source/core/html/HTMLAreaElement.cpp

Issue 20294002: Fix trailing whitespace in .cpp, .h, and .idl files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased 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
« no previous file with comments | « Source/core/html/HTMLAreaElement.h ('k') | Source/core/html/HTMLAudioElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLAreaElement.cpp
diff --git a/Source/core/html/HTMLAreaElement.cpp b/Source/core/html/HTMLAreaElement.cpp
index 87ca99ee912e5fa52242dbe249a9c281daec328a..c105381adf8024ad560cdfa6c00ca3f43ea10c23 100644
--- a/Source/core/html/HTMLAreaElement.cpp
+++ b/Source/core/html/HTMLAreaElement.cpp
@@ -86,7 +86,7 @@ bool HTMLAreaElement::mapMouseEvent(LayoutPoint location, const LayoutSize& size
if (!m_region->contains(location))
return false;
-
+
result.setInnerNode(this);
result.setURLElement(this);
return true;
@@ -96,7 +96,7 @@ Path HTMLAreaElement::computePath(RenderObject* obj) const
{
if (!obj)
return Path();
-
+
// FIXME: This doesn't work correctly with transforms.
FloatPoint absPos = obj->localToAbsolute();
@@ -104,7 +104,7 @@ Path HTMLAreaElement::computePath(RenderObject* obj) const
LayoutSize size = m_lastSize;
if (m_shape == Default)
size = obj->absoluteOutlineBounds().size();
-
+
Path p = getRegion(size);
float zoomFactor = obj->style()->effectiveZoom();
if (zoomFactor != 1.0f) {
@@ -116,7 +116,7 @@ Path HTMLAreaElement::computePath(RenderObject* obj) const
p.translate(toFloatSize(absPos));
return p;
}
-
+
LayoutRect HTMLAreaElement::computeRect(RenderObject* obj) const
{
return enclosingLayoutRect(computePath(obj).boundingRect());
@@ -187,7 +187,7 @@ HTMLImageElement* HTMLAreaElement::imageElement() const
if (!mapElement)
return 0;
-
+
return toHTMLMapElement(mapElement)->imageElement();
}
@@ -195,7 +195,7 @@ bool HTMLAreaElement::isKeyboardFocusable(KeyboardEvent*) const
{
return isFocusable();
}
-
+
bool HTMLAreaElement::isMouseFocusable() const
{
return isFocusable();
@@ -209,7 +209,7 @@ bool HTMLAreaElement::rendererIsFocusable() const
return supportsFocus() && Element::tabIndex() >= 0;
}
-
+
void HTMLAreaElement::setFocus(bool shouldBeFocused)
{
if (focused() == shouldBeFocused)
@@ -227,7 +227,7 @@ void HTMLAreaElement::setFocus(bool shouldBeFocused)
toRenderImage(renderer)->areaElementFocusChanged(this);
}
-
+
void HTMLAreaElement::updateFocusAppearance(bool restorePreviousSelection)
{
if (!isFocusable())
@@ -239,7 +239,7 @@ void HTMLAreaElement::updateFocusAppearance(bool restorePreviousSelection)
imageElement->updateFocusAppearance(restorePreviousSelection);
}
-
+
bool HTMLAreaElement::supportsFocus() const
{
// If the AREA element was a link, it should support focus.
« no previous file with comments | « Source/core/html/HTMLAreaElement.h ('k') | Source/core/html/HTMLAudioElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698