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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 bool popups_allowed, | 79 bool popups_allowed, |
80 bool notify_redirects) OVERRIDE; | 80 bool notify_redirects) OVERRIDE; |
81 void UpdateGeometry(const gfx::Rect& window_rect, | 81 void UpdateGeometry(const gfx::Rect& window_rect, |
82 const gfx::Rect& clip_rect, | 82 const gfx::Rect& clip_rect, |
83 const TransportDIB::Handle& windowless_buffer0, | 83 const TransportDIB::Handle& windowless_buffer0, |
84 const TransportDIB::Handle& windowless_buffer1, | 84 const TransportDIB::Handle& windowless_buffer1, |
85 int windowless_buffer_index); | 85 int windowless_buffer_index); |
86 virtual void CancelDocumentLoad() OVERRIDE; | 86 virtual void CancelDocumentLoad() OVERRIDE; |
87 virtual void InitiateHTTPRangeRequest( | 87 virtual void InitiateHTTPRangeRequest( |
88 const char* url, const char* range_info, int range_request_id) OVERRIDE; | 88 const char* url, const char* range_info, int range_request_id) OVERRIDE; |
| 89 virtual void DidStartLoading() OVERRIDE; |
| 90 virtual void DidStopLoading() OVERRIDE; |
89 virtual void SetDeferResourceLoading(unsigned long resource_id, | 91 virtual void SetDeferResourceLoading(unsigned long resource_id, |
90 bool defer) OVERRIDE; | 92 bool defer) OVERRIDE; |
91 virtual bool IsOffTheRecord() OVERRIDE; | 93 virtual bool IsOffTheRecord() OVERRIDE; |
92 virtual void ResourceClientDeleted( | 94 virtual void ResourceClientDeleted( |
93 WebPluginResourceClient* resource_client) OVERRIDE; | 95 WebPluginResourceClient* resource_client) OVERRIDE; |
94 virtual void URLRedirectResponse(bool allow, int resource_id) OVERRIDE; | 96 virtual void URLRedirectResponse(bool allow, int resource_id) OVERRIDE; |
95 virtual bool CheckIfRunInsecureContent(const GURL& url) OVERRIDE; | 97 virtual bool CheckIfRunInsecureContent(const GURL& url) OVERRIDE; |
96 #if defined(OS_WIN) | 98 #if defined(OS_WIN) |
97 void SetWindowlessData(HANDLE pump_messages_event, | 99 void SetWindowlessData(HANDLE pump_messages_event, |
98 gfx::NativeViewId dummy_activation_window); | 100 gfx::NativeViewId dummy_activation_window); |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 | 243 |
242 // Contains the routing id of the host render view. | 244 // Contains the routing id of the host render view. |
243 int host_render_view_routing_id_; | 245 int host_render_view_routing_id_; |
244 | 246 |
245 base::WeakPtrFactory<WebPluginProxy> weak_factory_; | 247 base::WeakPtrFactory<WebPluginProxy> weak_factory_; |
246 }; | 248 }; |
247 | 249 |
248 } // namespace content | 250 } // namespace content |
249 | 251 |
250 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ | 252 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ |
OLD | NEW |