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

Unified Diff: third_party/WebKit/Source/web/WebPluginContainerImpl.h

Issue 1426923007: Remove PluginLoadObserver and related logic, it was only used for NPAPI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/web/WebPluginContainerImpl.h
diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.h b/third_party/WebKit/Source/web/WebPluginContainerImpl.h
index d0be624d397ac8cfb3f42ce666e4976eba9c69e3..a79503b4e398d1bf8f70338d0c8b9b09321d26bf 100644
--- a/third_party/WebKit/Source/web/WebPluginContainerImpl.h
+++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.h
@@ -55,7 +55,6 @@ class ResourceError;
class ResourceResponse;
class TouchEvent;
class WebPlugin;
-class WebPluginLoadObserver;
class WheelEvent;
class Widget;
struct WebPrintParams;
@@ -108,7 +107,7 @@ public:
NPObject* scriptableObjectForElement() override;
v8::Local<v8::Object> v8ObjectForElement() override;
WebString executeScriptURL(const WebURL&, bool popupsAllowed) override;
- void loadFrameRequest(const WebURLRequest&, const WebString& target, bool notifyNeeded, void* notifyData) override;
+ void loadFrameRequest(const WebURLRequest&, const WebString& target) override;
bool isRectTopmost(const WebRect&) override;
void requestTouchEventType(TouchEventRequestType) override;
void setWantsWheelEvents(bool) override;
@@ -153,12 +152,8 @@ public:
// Resource load events for the plugin's source data:
void didReceiveResponse(const ResourceResponse&) override;
void didReceiveData(const char *data, int dataLength) override;
- void didFinishLoading() override;
- void didFailLoading(const ResourceError&) override;
-
-#if !ENABLE(OILPAN)
- void willDestroyPluginLoadObserver(WebPluginLoadObserver*);
-#endif
+ void didFinishLoading();
+ void didFailLoading(const ResourceError&);
DECLARE_VIRTUAL_TRACE();
void dispose() override;
@@ -202,9 +197,6 @@ private:
RawPtrWillBeMember<HTMLPlugInElement> m_element;
WebPlugin* m_webPlugin;
-#if !ENABLE(OILPAN)
- Vector<WebPluginLoadObserver*> m_pluginLoadObservers;
-#endif
WebLayer* m_webLayer;
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | third_party/WebKit/Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698