| 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_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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 const TransportDIB::Handle& windowless_buffer0, | 74 const TransportDIB::Handle& windowless_buffer0, |
| 75 const TransportDIB::Handle& windowless_buffer1, | 75 const TransportDIB::Handle& windowless_buffer1, |
| 76 int windowless_buffer_index); | 76 int windowless_buffer_index); |
| 77 void CancelDocumentLoad() override; | 77 void CancelDocumentLoad() override; |
| 78 void DidStartLoading() override; | 78 void DidStartLoading() override; |
| 79 void DidStopLoading() override; | 79 void DidStopLoading() override; |
| 80 void SetDeferResourceLoading(unsigned long resource_id, bool defer) override; | 80 void SetDeferResourceLoading(unsigned long resource_id, bool defer) override; |
| 81 bool IsOffTheRecord() override; | 81 bool IsOffTheRecord() override; |
| 82 void ResourceClientDeleted(WebPluginResourceClient* resource_client) override; | 82 void ResourceClientDeleted(WebPluginResourceClient* resource_client) override; |
| 83 void URLRedirectResponse(bool allow, int resource_id) override; | 83 void URLRedirectResponse(bool allow, int resource_id) override; |
| 84 bool CheckIfRunInsecureContent(const GURL& url) override; | |
| 85 #if defined(OS_WIN) | 84 #if defined(OS_WIN) |
| 86 void SetWindowlessData(HANDLE pump_messages_event, | 85 void SetWindowlessData(HANDLE pump_messages_event, |
| 87 gfx::NativeViewId dummy_activation_window) override; | 86 gfx::NativeViewId dummy_activation_window) override; |
| 88 #endif | 87 #endif |
| 89 #if defined(OS_MACOSX) | 88 #if defined(OS_MACOSX) |
| 90 void FocusChanged(bool focused) override; | 89 void FocusChanged(bool focused) override; |
| 91 void StartIme() override; | 90 void StartIme() override; |
| 92 WebPluginAcceleratedSurface* GetAcceleratedSurface( | 91 WebPluginAcceleratedSurface* GetAcceleratedSurface( |
| 93 gfx::GpuPreference gpu_preference) override; | 92 gfx::GpuPreference gpu_preference) override; |
| 94 void AcceleratedPluginEnabledRendering() override; | 93 void AcceleratedPluginEnabledRendering() override; |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 | 202 |
| 204 // Contains the routing id of the host render view. | 203 // Contains the routing id of the host render view. |
| 205 int host_render_view_routing_id_; | 204 int host_render_view_routing_id_; |
| 206 | 205 |
| 207 base::WeakPtrFactory<WebPluginProxy> weak_factory_; | 206 base::WeakPtrFactory<WebPluginProxy> weak_factory_; |
| 208 }; | 207 }; |
| 209 | 208 |
| 210 } // namespace content | 209 } // namespace content |
| 211 | 210 |
| 212 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ | 211 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ |
| OLD | NEW |