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_DELEGATE_PROXY_H_ | 5 #ifndef CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ |
6 #define CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ | 6 #define CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 void OnGetCookies(const GURL& url, const GURL& first_party_for_cookies, | 144 void OnGetCookies(const GURL& url, const GURL& first_party_for_cookies, |
145 std::string* cookies); | 145 std::string* cookies); |
146 void OnCancelDocumentLoad(); | 146 void OnCancelDocumentLoad(); |
147 void OnInitiateHTTPRangeRequest(const std::string& url, | 147 void OnInitiateHTTPRangeRequest(const std::string& url, |
148 const std::string& range_info, | 148 const std::string& range_info, |
149 int range_request_id); | 149 int range_request_id); |
150 void OnDidStartLoading(); | 150 void OnDidStartLoading(); |
151 void OnDidStopLoading(); | 151 void OnDidStopLoading(); |
152 void OnDeferResourceLoading(unsigned long resource_id, bool defer); | 152 void OnDeferResourceLoading(unsigned long resource_id, bool defer); |
153 void OnURLRedirectResponse(bool allow, int resource_id); | 153 void OnURLRedirectResponse(bool allow, int resource_id); |
154 void OnCheckIfRunInsecureContent(const GURL& url, bool* result); | |
155 #if defined(OS_MACOSX) | 154 #if defined(OS_MACOSX) |
156 void OnFocusChanged(bool focused); | 155 void OnFocusChanged(bool focused); |
157 void OnStartIme(); | 156 void OnStartIme(); |
158 // Accelerated (Core Animation) plugin implementation. | 157 // Accelerated (Core Animation) plugin implementation. |
159 void OnAcceleratedPluginEnabledRendering(); | 158 void OnAcceleratedPluginEnabledRendering(); |
160 void OnAcceleratedPluginAllocatedIOSurface(int32_t width, | 159 void OnAcceleratedPluginAllocatedIOSurface(int32_t width, |
161 int32_t height, | 160 int32_t height, |
162 uint32_t surface_id); | 161 uint32_t surface_id); |
163 void OnAcceleratedPluginSwappedIOSurface(); | 162 void OnAcceleratedPluginSwappedIOSurface(); |
164 #endif | 163 #endif |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 | 276 |
278 // The url of the main frame hosting the plugin. | 277 // The url of the main frame hosting the plugin. |
279 GURL page_url_; | 278 GURL page_url_; |
280 | 279 |
281 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); | 280 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); |
282 }; | 281 }; |
283 | 282 |
284 } // namespace content | 283 } // namespace content |
285 | 284 |
286 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ | 285 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_DELEGATE_PROXY_H_ |
OLD | NEW |