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

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, 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
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 2d770eeaea810953135555e7c2b3032000ca44e8..5dcef82e71ae91bba75dd03f1e98dfb17de3a2d9 100644
--- a/content/renderer/npapi/webplugin_delegate_proxy.h
+++ b/content/renderer/npapi/webplugin_delegate_proxy.h
@@ -68,9 +68,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;
@@ -112,39 +109,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:

Powered by Google App Engine
This is Rietveld 408576698