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

Unified Diff: third_party/WebKit/Source/core/html/HTMLPlugInElement.h

Issue 2797943002: Set plugin focus via element dispatch (Closed)
Patch Set: Dispatch to DOM onblur/onfocus first, then call plugin Created 3 years, 8 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
Index: third_party/WebKit/Source/core/html/HTMLPlugInElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.h b/third_party/WebKit/Source/core/html/HTMLPlugInElement.h
index 3eb5f4a4546489f9977784cb29c21da5f1555a36..f89a40bd01e0e8c6b1c9bd4940654194101bf6a3 100644
--- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.h
@@ -46,6 +46,12 @@ class CORE_EXPORT HTMLPlugInElement : public HTMLFrameOwnerElement {
~HTMLPlugInElement() override;
DECLARE_VIRTUAL_TRACE();
+ void dispatchBlurEvent(Element*,
+ WebFocusType,
+ InputDeviceCapabilities*) override;
+ void dispatchFocusEvent(Element*,
+ WebFocusType,
+ InputDeviceCapabilities*) override;
void resetInstance();
// TODO(dcheng): Consider removing this, since HTMLEmbedElementLegacyCall
// and HTMLObjectElementLegacyCall usage is extremely low.

Powered by Google App Engine
This is Rietveld 408576698