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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 const GURL& first_party_for_cookies, | 110 const GURL& first_party_for_cookies, |
111 const std::string& cookie) override; | 111 const std::string& cookie) override; |
112 std::string GetCookies(const GURL& url, | 112 std::string GetCookies(const GURL& url, |
113 const GURL& first_party_for_cookies) override; | 113 const GURL& first_party_for_cookies) override; |
114 void CancelDocumentLoad() override; | 114 void CancelDocumentLoad() override; |
115 void DidStartLoading() override; | 115 void DidStartLoading() override; |
116 void DidStopLoading() override; | 116 void DidStopLoading() override; |
117 bool IsOffTheRecord() override; | 117 bool IsOffTheRecord() override; |
118 void SetDeferResourceLoading(unsigned long resource_id, bool defer) override; | 118 void SetDeferResourceLoading(unsigned long resource_id, bool defer) override; |
119 void URLRedirectResponse(bool allow, int resource_id) override; | 119 void URLRedirectResponse(bool allow, int resource_id) override; |
120 bool CheckIfRunInsecureContent(const GURL& url) override; | |
121 #if defined(OS_WIN) | 120 #if defined(OS_WIN) |
122 void SetWindowlessData(HANDLE pump_messages_event, | 121 void SetWindowlessData(HANDLE pump_messages_event, |
123 gfx::NativeViewId dummy_activation_window) override {} | 122 gfx::NativeViewId dummy_activation_window) override {} |
124 void ReparentPluginWindow(HWND window, HWND parent) { } | 123 void ReparentPluginWindow(HWND window, HWND parent) { } |
125 void ReportExecutableMemory(size_t size) { } | 124 void ReportExecutableMemory(size_t size) { } |
126 #endif | 125 #endif |
127 #if defined(OS_MACOSX) | 126 #if defined(OS_MACOSX) |
128 WebPluginAcceleratedSurface* GetAcceleratedSurface( | 127 WebPluginAcceleratedSurface* GetAcceleratedSurface( |
129 gfx::GpuPreference gpu_preference) override; | 128 gfx::GpuPreference gpu_preference) override; |
130 void AcceleratedPluginEnabledRendering() override; | 129 void AcceleratedPluginEnabledRendering() override; |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 }; | 317 }; |
319 | 318 |
320 LoaderClient loader_client_; | 319 LoaderClient loader_client_; |
321 | 320 |
322 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); | 321 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); |
323 }; | 322 }; |
324 | 323 |
325 } // namespace content | 324 } // namespace content |
326 | 325 |
327 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_ | 326 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_ |
OLD | NEW |