OLD | NEW |
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 Loading... |
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 |
113 #if defined(OS_MACOSX) | 119 #if defined(OS_MACOSX) |
114 WebPluginAcceleratedSurface* GetAcceleratedSurface( | 120 WebPluginAcceleratedSurface* GetAcceleratedSurface( |
115 gfx::GpuPreference gpu_preference) override; | 121 gfx::GpuPreference gpu_preference) override; |
116 void AcceleratedPluginEnabledRendering() override; | 122 void AcceleratedPluginEnabledRendering() override; |
117 void AcceleratedPluginAllocatedIOSurface(int32_t width, | 123 void AcceleratedPluginAllocatedIOSurface(int32_t width, |
118 int32_t height, | 124 int32_t height, |
119 uint32_t surface_id) override; | 125 uint32_t surface_id) override; |
120 void AcceleratedPluginSwappedIOSurface() override; | 126 void AcceleratedPluginSwappedIOSurface() override; |
121 #endif | 127 #endif |
122 | 128 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 // these so that we can re-initialize the plugin if we need to. | 227 // these so that we can re-initialize the plugin if we need to. |
222 std::vector<std::string> arg_names_; | 228 std::vector<std::string> arg_names_; |
223 std::vector<std::string> arg_values_; | 229 std::vector<std::string> arg_values_; |
224 | 230 |
225 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); | 231 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); |
226 }; | 232 }; |
227 | 233 |
228 } // namespace content | 234 } // namespace content |
229 | 235 |
230 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_ | 236 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_ |
OLD | NEW |