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

Unified Diff: content/renderer/npapi/webplugin_delegate_proxy.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: content/renderer/npapi/webplugin_delegate_proxy.h
diff --git a/content/renderer/npapi/webplugin_delegate_proxy.h b/content/renderer/npapi/webplugin_delegate_proxy.h
index 64eab9dfffd21c922209c4a144d61aef665b2a53..ad9a66b80cf7c66a0d4ea7c86ad74ac745d06d38 100644
--- a/content/renderer/npapi/webplugin_delegate_proxy.h
+++ b/content/renderer/npapi/webplugin_delegate_proxy.h
@@ -67,9 +67,6 @@ class WebPluginDelegateProxy
NPObject* GetPluginScriptableObject() override;
struct _NPP* GetPluginNPP() override;
bool GetFormValue(base::string16* value) override;
- void DidFinishLoadWithReason(const GURL& url,
- NPReason reason,
- int notify_id) override;
void SetFocus(bool focused) override;
bool HandleInputEvent(const blink::WebInputEvent& event,
WebCursor::CursorInfo* cursor) override;
@@ -111,39 +108,6 @@ class WebPluginDelegateProxy
// IPC::Sender implementation:
bool Send(IPC::Message* msg) override;
- void SendJavaScriptStream(const GURL& url,
- const std::string& result,
- bool success,
- int notify_id) override;
-
- void DidReceiveManualResponse(const GURL& url,
- const std::string& mime_type,
- const std::string& headers,
- uint32 expected_length,
- uint32 last_modified) override;
- void DidReceiveManualData(const char* buffer, int length) override;
- void DidFinishManualLoading() override;
- void DidManualLoadFail() override;
- WebPluginResourceClient* CreateResourceClient(unsigned long resource_id,
- const GURL& url,
- int notify_id) override;
- WebPluginResourceClient* CreateSeekableResourceClient(
- unsigned long resource_id,
- int range_request_id) override;
- void FetchURL(unsigned long resource_id,
- int notify_id,
- const GURL& url,
- const GURL& first_party_for_cookies,
- const std::string& method,
- const char* buf,
- unsigned int len,
- const Referrer& referrer,
- bool notify_redirects,
- bool is_plugin_src_load,
- int origin_pid,
- int render_frame_id,
- int render_view_id) override;
-
gfx::PluginWindowHandle GetPluginWindowHandle();
protected:
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin.cc ('k') | content/renderer/npapi/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698