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

Unified Diff: Source/core/html/HTMLInputElement.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/HTMLInputElement.h ('k') | Source/core/html/HTMLLabelElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLInputElement.cpp
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
index b0d4f5783baec227e3c2b911344a79068cebb827..2cc0992d6323f412fd851ea20a25839227df3a20 100644
--- a/Source/core/html/HTMLInputElement.cpp
+++ b/Source/core/html/HTMLInputElement.cpp
@@ -384,13 +384,13 @@ void HTMLInputElement::endEditing()
frame->host()->chrome().client().didEndEditingOnTextField(*this);
}
-void HTMLInputElement::handleFocusEvent(Element* oldFocusedElement, FocusType type)
+void HTMLInputElement::handleFocusEvent(Element* oldFocusedElement, WebFocusType type)
{
m_inputTypeView->handleFocusEvent(oldFocusedElement, type);
m_inputType->enableSecureTextInput();
}
-void HTMLInputElement::dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocusedElement, FocusType type)
+void HTMLInputElement::dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocusedElement, WebFocusType type)
{
if (eventType == EventTypeNames::DOMFocusIn)
m_inputTypeView->handleFocusInEvent(oldFocusedElement, type);
« no previous file with comments | « Source/core/html/HTMLInputElement.h ('k') | Source/core/html/HTMLLabelElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698