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

Unified Diff: Source/core/html/HTMLAnchorElement.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/html/HTMLAnchorElement.h ('k') | Source/core/html/HTMLFormControlElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLAnchorElement.cpp
diff --git a/Source/core/html/HTMLAnchorElement.cpp b/Source/core/html/HTMLAnchorElement.cpp
index a73290e8ba2e0d2270ea998f852190e10fab932b..5c8e41b76c6c7604908a00fd997a7b19556371a6 100644
--- a/Source/core/html/HTMLAnchorElement.cpp
+++ b/Source/core/html/HTMLAnchorElement.cpp
@@ -89,10 +89,10 @@ bool HTMLAnchorElement::shouldHaveFocusAppearance() const
return !m_wasFocusedByMouse || HTMLElement::supportsFocus();
}
-void HTMLAnchorElement::dispatchFocusEvent(Element* oldFocusedElement, FocusType type)
+void HTMLAnchorElement::dispatchFocusEvent(Element* oldFocusedElement, WebFocusType type)
{
- if (type != FocusTypePage)
- m_wasFocusedByMouse = type == FocusTypeMouse;
+ if (type != WebFocusTypePage)
+ m_wasFocusedByMouse = type == WebFocusTypeMouse;
HTMLElement::dispatchFocusEvent(oldFocusedElement, type);
}
« no previous file with comments | « Source/core/html/HTMLAnchorElement.h ('k') | Source/core/html/HTMLFormControlElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698