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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 void SetCookie(const GURL& url, | 64 void SetCookie(const GURL& url, |
65 const GURL& first_party_for_cookies, | 65 const GURL& first_party_for_cookies, |
66 const std::string& cookie) override; | 66 const std::string& cookie) override; |
67 std::string GetCookies(const GURL& url, | 67 std::string GetCookies(const GURL& url, |
68 const GURL& first_party_for_cookies) override; | 68 const GURL& first_party_for_cookies) override; |
69 void HandleURLRequest(const char* url, | 69 void HandleURLRequest(const char* url, |
70 const char* method, | 70 const char* method, |
71 const char* target, | 71 const char* target, |
72 const char* buf, | 72 const char* buf, |
73 unsigned int len, | 73 unsigned int len, |
74 int notify_id, | |
75 bool popups_allowed, | 74 bool popups_allowed, |
76 bool notify_redirects) override; | 75 bool notify_redirects) override; |
77 void UpdateGeometry(const gfx::Rect& window_rect, | 76 void UpdateGeometry(const gfx::Rect& window_rect, |
78 const gfx::Rect& clip_rect, | 77 const gfx::Rect& clip_rect, |
79 const TransportDIB::Handle& windowless_buffer0, | 78 const TransportDIB::Handle& windowless_buffer0, |
80 const TransportDIB::Handle& windowless_buffer1, | 79 const TransportDIB::Handle& windowless_buffer1, |
81 int windowless_buffer_index); | 80 int windowless_buffer_index); |
82 void CancelDocumentLoad() override; | 81 void CancelDocumentLoad() override; |
83 void InitiateHTTPRangeRequest(const char* url, | 82 void InitiateHTTPRangeRequest(const char* url, |
84 const char* range_info, | 83 const char* range_info, |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 | 210 |
212 // Contains the routing id of the host render view. | 211 // Contains the routing id of the host render view. |
213 int host_render_view_routing_id_; | 212 int host_render_view_routing_id_; |
214 | 213 |
215 base::WeakPtrFactory<WebPluginProxy> weak_factory_; | 214 base::WeakPtrFactory<WebPluginProxy> weak_factory_; |
216 }; | 215 }; |
217 | 216 |
218 } // namespace content | 217 } // namespace content |
219 | 218 |
220 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ | 219 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ |
OLD | NEW |