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

Side by Side Diff: content/plugin/webplugin_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 unified diff | Download patch
« no previous file with comments | « content/plugin/webplugin_delegate_stub.cc ('k') | content/plugin/webplugin_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ 5 #ifndef CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_
6 #define CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ 6 #define CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 void Invalidate() override; 59 void Invalidate() override;
60 void InvalidateRect(const gfx::Rect& rect) override; 60 void InvalidateRect(const gfx::Rect& rect) override;
61 NPObject* GetWindowScriptNPObject() override; 61 NPObject* GetWindowScriptNPObject() override;
62 NPObject* GetPluginElement() override; 62 NPObject* GetPluginElement() override;
63 bool FindProxyForUrl(const GURL& url, std::string* proxy_list) override; 63 bool FindProxyForUrl(const GURL& url, std::string* proxy_list) override;
64 void SetCookie(const GURL& url, 64 void SetCookie(const GURL& url,
65 const GURL& first_party_for_cookies, 65 const GURL& first_party_for_cookies,
66 const std::string& cookie) override; 66 const std::string& cookie) override;
67 std::string GetCookies(const GURL& url, 67 std::string GetCookies(const GURL& url,
68 const GURL& first_party_for_cookies) override; 68 const GURL& first_party_for_cookies) override;
69 void HandleURLRequest(const char* url,
70 const char* method,
71 const char* target,
72 const char* buf,
73 unsigned int len,
74 int notify_id,
75 bool popups_allowed,
76 bool notify_redirects) override;
77 void UpdateGeometry(const gfx::Rect& window_rect, 69 void UpdateGeometry(const gfx::Rect& window_rect,
78 const gfx::Rect& clip_rect, 70 const gfx::Rect& clip_rect,
79 const TransportDIB::Handle& windowless_buffer0, 71 const TransportDIB::Handle& windowless_buffer0,
80 const TransportDIB::Handle& windowless_buffer1, 72 const TransportDIB::Handle& windowless_buffer1,
81 int windowless_buffer_index); 73 int windowless_buffer_index);
82 void CancelDocumentLoad() override; 74 void CancelDocumentLoad() override;
83 void InitiateHTTPRangeRequest(const char* url,
84 const char* range_info,
85 int range_request_id) override;
86 void DidStartLoading() override; 75 void DidStartLoading() override;
87 void DidStopLoading() override; 76 void DidStopLoading() override;
88 void SetDeferResourceLoading(unsigned long resource_id, bool defer) override; 77 void SetDeferResourceLoading(unsigned long resource_id, bool defer) override;
89 bool IsOffTheRecord() override; 78 bool IsOffTheRecord() override;
90 void ResourceClientDeleted(WebPluginResourceClient* resource_client) override; 79 void ResourceClientDeleted(WebPluginResourceClient* resource_client) override;
91 void URLRedirectResponse(bool allow, int resource_id) override; 80 void URLRedirectResponse(bool allow, int resource_id) override;
92 bool CheckIfRunInsecureContent(const GURL& url) override; 81 bool CheckIfRunInsecureContent(const GURL& url) override;
93 #if defined(OS_WIN) 82 #if defined(OS_WIN)
94 void SetWindowlessData(HANDLE pump_messages_event, 83 void SetWindowlessData(HANDLE pump_messages_event,
95 gfx::NativeViewId dummy_activation_window) override; 84 gfx::NativeViewId dummy_activation_window) override;
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 200
212 // Contains the routing id of the host render view. 201 // Contains the routing id of the host render view.
213 int host_render_view_routing_id_; 202 int host_render_view_routing_id_;
214 203
215 base::WeakPtrFactory<WebPluginProxy> weak_factory_; 204 base::WeakPtrFactory<WebPluginProxy> weak_factory_;
216 }; 205 };
217 206
218 } // namespace content 207 } // namespace content
219 208
220 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ 209 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_
OLDNEW
« no previous file with comments | « content/plugin/webplugin_delegate_stub.cc ('k') | content/plugin/webplugin_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698