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

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

Issue 2927823002: Drop ImageLoader in plugins (Closed)
Patch Set: Drop ImageLoader in plugins Created 3 years, 6 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 924973f5efd18dc4901be643b94e48bab447a69e..c8f650434c9eb23d217b3882666e08f20f1ac05c 100644
--- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.h
@@ -26,13 +26,11 @@
#include "core/CoreExport.h"
#include "core/html/HTMLFrameOwnerElement.h"
-#include "platform/bindings/ActiveScriptWrappable.h"
#include "platform/bindings/SharedPersistent.h"
#include "v8/include/v8.h"
namespace blink {
-class HTMLImageLoader;
class LayoutEmbeddedContent;
class LayoutEmbeddedItem;
class PluginView;
@@ -42,17 +40,13 @@ enum PreferPlugInsForImagesOption {
kShouldNotPreferPlugInsForImages
};
-class CORE_EXPORT HTMLPlugInElement
- : public HTMLFrameOwnerElement,
- public ActiveScriptWrappable<HTMLPlugInElement> {
+class CORE_EXPORT HTMLPlugInElement : public HTMLFrameOwnerElement {
USING_GARBAGE_COLLECTED_MIXIN(HTMLPlugInElement);
public:
~HTMLPlugInElement() override;
DECLARE_VIRTUAL_TRACE();
- bool HasPendingActivity() const final;
-
void SetFocused(bool, WebFocusType) override;
void ResetInstance();
// TODO(dcheng): Consider removing this, since HTMLEmbedElementLegacyCall
@@ -91,7 +85,6 @@ class CORE_EXPORT HTMLPlugInElement
// Node functions:
void RemovedFrom(ContainerNode* insertion_point) override;
- void DidMoveToNewDocument(Document& old_document) override;
// Element functions:
bool IsPresentationAttribute(const QualifiedName&) const override;
@@ -118,7 +111,6 @@ class CORE_EXPORT HTMLPlugInElement
String service_type_;
String url_;
KURL loaded_url_;
- Member<HTMLImageLoader> image_loader_;
bool is_delaying_load_event_;
private:
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLObjectElement.idl ('k') | third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698