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

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

Issue 2797943002: Set plugin focus via element dispatch (Closed)
Patch Set: Remove testing var. 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 3e49c8769dd123244d541ab3f3891752c35b4885..26343a927440c65c2144e50b3b0304be01ad0e1a 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();
+ virtual void dispatchBlurEvent(Element*,
dcheng 2017/04/05 07:48:08 Nit: mark this as override rather than virtual (di
joelhockey 2017/04/05 23:59:11 Thanks
+ WebFocusType,
+ InputDeviceCapabilities*);
+ virtual void dispatchFocusEvent(Element*,
+ WebFocusType,
+ InputDeviceCapabilities*);
void resetInstance();
// TODO(dcheng): Consider removing this, since HTMLEmbedElementLegacyCall
// and HTMLObjectElementLegacyCall usage is extremely low.

Powered by Google App Engine
This is Rietveld 408576698