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

Side by Side Diff: content/renderer/npapi/webplugin_delegate_proxy.h

Issue 1662013002: Remove some dead NPAPI code after r363119. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unused functions Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « content/plugin/webplugin_proxy.cc ('k') | content/renderer/npapi/webplugin_delegate_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_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ 5 #ifndef CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_
6 #define CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ 6 #define CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 scoped_ptr<SharedMemoryBitmap> bitmap; 127 scoped_ptr<SharedMemoryBitmap> bitmap;
128 skia::RefPtr<SkCanvas> canvas; 128 skia::RefPtr<SkCanvas> canvas;
129 }; 129 };
130 130
131 // Message handlers for messages that proxy WebPlugin methods, which 131 // Message handlers for messages that proxy WebPlugin methods, which
132 // we translate into calls to the real WebPlugin. 132 // we translate into calls to the real WebPlugin.
133 void OnSetWindow(gfx::PluginWindowHandle window); 133 void OnSetWindow(gfx::PluginWindowHandle window);
134 void OnCompleteURL(const std::string& url_in, std::string* url_out, 134 void OnCompleteURL(const std::string& url_in, std::string* url_out,
135 bool* result); 135 bool* result);
136 void OnHandleURLRequest(const PluginHostMsg_URLRequest_Params& params); 136 void OnHandleURLRequest(const PluginHostMsg_URLRequest_Params& params);
137 void OnCancelResource(int id);
138 void OnInvalidateRect(const gfx::Rect& rect); 137 void OnInvalidateRect(const gfx::Rect& rect);
139 void OnGetWindowScriptNPObject(int route_id, bool* success); 138 void OnGetWindowScriptNPObject(int route_id, bool* success);
140 void OnResolveProxy(const GURL& url, bool* result, std::string* proxy_list); 139 void OnResolveProxy(const GURL& url, bool* result, std::string* proxy_list);
141 void OnGetPluginElement(int route_id, bool* success); 140 void OnGetPluginElement(int route_id, bool* success);
142 void OnSetCookie(const GURL& url, 141 void OnSetCookie(const GURL& url,
143 const GURL& first_party_for_cookies, 142 const GURL& first_party_for_cookies,
144 const std::string& cookie); 143 const std::string& cookie);
145 void OnGetCookies(const GURL& url, const GURL& first_party_for_cookies, 144 void OnGetCookies(const GURL& url, const GURL& first_party_for_cookies,
146 std::string* cookies); 145 std::string* cookies);
147 void OnCancelDocumentLoad(); 146 void OnCancelDocumentLoad();
148 void OnInitiateHTTPRangeRequest(const std::string& url, 147 void OnInitiateHTTPRangeRequest(const std::string& url,
149 const std::string& range_info, 148 const std::string& range_info,
150 int range_request_id); 149 int range_request_id);
151 void OnDidStartLoading(); 150 void OnDidStartLoading();
152 void OnDidStopLoading(); 151 void OnDidStopLoading();
153 void OnDeferResourceLoading(unsigned long resource_id, bool defer);
154 void OnURLRedirectResponse(bool allow, int resource_id);
155 #if defined(OS_MACOSX) 152 #if defined(OS_MACOSX)
156 void OnFocusChanged(bool focused); 153 void OnFocusChanged(bool focused);
157 void OnStartIme(); 154 void OnStartIme();
158 // Accelerated (Core Animation) plugin implementation. 155 // Accelerated (Core Animation) plugin implementation.
159 void OnAcceleratedPluginEnabledRendering(); 156 void OnAcceleratedPluginEnabledRendering();
160 void OnAcceleratedPluginAllocatedIOSurface(int32_t width, 157 void OnAcceleratedPluginAllocatedIOSurface(int32_t width,
161 int32_t height, 158 int32_t height,
162 uint32_t surface_id); 159 uint32_t surface_id);
163 void OnAcceleratedPluginSwappedIOSurface(); 160 void OnAcceleratedPluginSwappedIOSurface();
164 #endif 161 #endif
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 274
278 // The url of the main frame hosting the plugin. 275 // The url of the main frame hosting the plugin.
279 GURL page_url_; 276 GURL page_url_;
280 277
281 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); 278 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy);
282 }; 279 };
283 280
284 } // namespace content 281 } // namespace content
285 282
286 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ 283 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_
OLDNEW
« no previous file with comments | « content/plugin/webplugin_proxy.cc ('k') | content/renderer/npapi/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698