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

Unified Diff: third_party/WebKit/Source/core/plugins/PluginView.h

Issue 2797943002: Set plugin focus via element dispatch (Closed)
Patch Set: Set plugin focus after dispatching DOM events and making sure focus has not changed. 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/platform/FrameViewBase.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/plugins/PluginView.h
diff --git a/third_party/WebKit/Source/core/plugins/PluginView.h b/third_party/WebKit/Source/core/plugins/PluginView.h
index 97f2361894d1fd51e7d352a577fefc0b1b2d8bfe..e0b2ed17d1e3947b47385d5449ee27746df167e2 100644
--- a/third_party/WebKit/Source/core/plugins/PluginView.h
+++ b/third_party/WebKit/Source/core/plugins/PluginView.h
@@ -31,6 +31,7 @@
#include "core/CoreExport.h"
#include "platform/FrameViewBase.h"
#include "platform/scroll/ScrollTypes.h"
+#include "public/platform/WebFocusType.h"
#include "v8/include/v8.h"
#include "wtf/text/WTFString.h"
@@ -45,6 +46,7 @@ class ResourceResponse;
class CORE_EXPORT PluginView : public FrameViewBase {
public:
bool isPluginView() const final { return true; }
+ virtual void setFocused(bool, WebFocusType) {}
virtual WebLayer* platformLayer() const { return 0; }
virtual v8::Local<v8::Object> scriptableObject(v8::Isolate*) {
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/platform/FrameViewBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698