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

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

Issue 852083002: Propagate focus type to plugins (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Moved 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGAElement.h ('k') | Source/platform/Widget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAElement.cpp
diff --git a/Source/core/svg/SVGAElement.cpp b/Source/core/svg/SVGAElement.cpp
index 85b69b0b1327963b0ea37f793a4996a3a19ba665..952b8c76ad502e5ff98ead61cd49e0274f083ee9 100644
--- a/Source/core/svg/SVGAElement.cpp
+++ b/Source/core/svg/SVGAElement.cpp
@@ -174,10 +174,10 @@ bool SVGAElement::shouldHaveFocusAppearance() const
return !m_wasFocusedByMouse || SVGGraphicsElement::supportsFocus();
}
-void SVGAElement::dispatchFocusEvent(Element* oldFocusedElement, FocusType type)
+void SVGAElement::dispatchFocusEvent(Element* oldFocusedElement, WebFocusType type)
{
- if (type != FocusTypePage)
- m_wasFocusedByMouse = type == FocusTypeMouse;
+ if (type != WebFocusTypePage)
+ m_wasFocusedByMouse = type == WebFocusTypeMouse;
SVGGraphicsElement::dispatchFocusEvent(oldFocusedElement, type);
}
« no previous file with comments | « Source/core/svg/SVGAElement.h ('k') | Source/platform/Widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698