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

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

Issue 1813143002: Remove a bunch of NPAPI quirks and related support code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_windowed_plugins
Patch Set: rebase Created 4 years, 9 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/renderer/npapi/webplugin_delegate_proxy.cc ('k') | content/renderer/render_view_impl.h » ('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_IMPL_H_ 5 #ifndef CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_
6 #define CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_ 6 #define CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 bool FindProxyForUrl(const GURL& url, std::string* proxy_list) override; 103 bool FindProxyForUrl(const GURL& url, std::string* proxy_list) override;
104 void SetCookie(const GURL& url, 104 void SetCookie(const GURL& url,
105 const GURL& first_party_for_cookies, 105 const GURL& first_party_for_cookies,
106 const std::string& cookie) override; 106 const std::string& cookie) override;
107 std::string GetCookies(const GURL& url, 107 std::string GetCookies(const GURL& url,
108 const GURL& first_party_for_cookies) override; 108 const GURL& first_party_for_cookies) override;
109 void CancelDocumentLoad() override; 109 void CancelDocumentLoad() override;
110 void DidStartLoading() override; 110 void DidStartLoading() override;
111 void DidStopLoading() override; 111 void DidStopLoading() override;
112 bool IsOffTheRecord() override; 112 bool IsOffTheRecord() override;
113 #if defined(OS_WIN)
114 void SetWindowlessData(HANDLE pump_messages_event,
115 gfx::NativeViewId dummy_activation_window) override {}
116 void ReparentPluginWindow(HWND window, HWND parent) { }
117 void ReportExecutableMemory(size_t size) { }
118 #endif
119 #if defined(OS_MACOSX) 113 #if defined(OS_MACOSX)
120 WebPluginAcceleratedSurface* GetAcceleratedSurface( 114 WebPluginAcceleratedSurface* GetAcceleratedSurface(
121 gfx::GpuPreference gpu_preference) override; 115 gfx::GpuPreference gpu_preference) override;
122 void AcceleratedPluginEnabledRendering() override; 116 void AcceleratedPluginEnabledRendering() override;
123 void AcceleratedPluginAllocatedIOSurface(int32_t width, 117 void AcceleratedPluginAllocatedIOSurface(int32_t width,
124 int32_t height, 118 int32_t height,
125 uint32_t surface_id) override; 119 uint32_t surface_id) override;
126 void AcceleratedPluginSwappedIOSurface() override; 120 void AcceleratedPluginSwappedIOSurface() override;
127 #endif 121 #endif
128 122
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 // these so that we can re-initialize the plugin if we need to. 221 // these so that we can re-initialize the plugin if we need to.
228 std::vector<std::string> arg_names_; 222 std::vector<std::string> arg_names_;
229 std::vector<std::string> arg_values_; 223 std::vector<std::string> arg_values_;
230 224
231 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); 225 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl);
232 }; 226 };
233 227
234 } // namespace content 228 } // namespace content
235 229
236 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_ 230 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/npapi/webplugin_delegate_proxy.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698