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

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

Issue 732783002: Reland HTMLPlugInElement: Use custom focus logic only when there is a plugin. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 1 month 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/HTMLObjectElement.cpp ('k') | Source/core/html/HTMLPlugInElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLPlugInElement.h
diff --git a/Source/core/html/HTMLPlugInElement.h b/Source/core/html/HTMLPlugInElement.h
index 3997868c69dc8f38d687b510bbf46e057e68ed54..e7152daa33ae4b033db23e84cdc37eb6d38e7b38 100644
--- a/Source/core/html/HTMLPlugInElement.h
+++ b/Source/core/html/HTMLPlugInElement.h
@@ -52,8 +52,16 @@ public:
#endif
void resetInstance();
+
+ // Returns the existing plugin widget, if there is one.
+ Widget* existingPluginWidget() const;
+
+ // Returns the plugin widget, forcing layout and post-layout tasks
+ // to happen synchronously (e.g. for JS bindings).
+ // See also renderPartForJSBindings().
+ Widget* pluginWidgetForJSBindings();
+
SharedPersistent<v8::Object>* pluginWrapper();
- Widget* pluginWidget() const;
NPObject* getNPObject();
bool canProcessDrag() const;
const String& url() const { return m_url; }
« no previous file with comments | « Source/core/html/HTMLObjectElement.cpp ('k') | Source/core/html/HTMLPlugInElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698