| 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 <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 const char* target, | 118 const char* target, |
| 119 const char* buf, | 119 const char* buf, |
| 120 unsigned int len, | 120 unsigned int len, |
| 121 int notify_id, | 121 int notify_id, |
| 122 bool popups_allowed, | 122 bool popups_allowed, |
| 123 bool notify_redirects) OVERRIDE; | 123 bool notify_redirects) OVERRIDE; |
| 124 virtual void CancelDocumentLoad() OVERRIDE; | 124 virtual void CancelDocumentLoad() OVERRIDE; |
| 125 virtual void InitiateHTTPRangeRequest(const char* url, | 125 virtual void InitiateHTTPRangeRequest(const char* url, |
| 126 const char* range_info, | 126 const char* range_info, |
| 127 int pending_request_id) OVERRIDE; | 127 int pending_request_id) OVERRIDE; |
| 128 virtual void DidStartLoading() OVERRIDE; |
| 129 virtual void DidStopLoading() OVERRIDE; |
| 128 virtual bool IsOffTheRecord() OVERRIDE; | 130 virtual bool IsOffTheRecord() OVERRIDE; |
| 129 virtual void SetDeferResourceLoading(unsigned long resource_id, | 131 virtual void SetDeferResourceLoading(unsigned long resource_id, |
| 130 bool defer) OVERRIDE; | 132 bool defer) OVERRIDE; |
| 131 virtual void URLRedirectResponse(bool allow, int resource_id) OVERRIDE; | 133 virtual void URLRedirectResponse(bool allow, int resource_id) OVERRIDE; |
| 132 virtual bool CheckIfRunInsecureContent(const GURL& url) OVERRIDE; | 134 virtual bool CheckIfRunInsecureContent(const GURL& url) OVERRIDE; |
| 133 #if defined(OS_WIN) | 135 #if defined(OS_WIN) |
| 134 void SetWindowlessData(HANDLE pump_messages_event, | 136 void SetWindowlessData(HANDLE pump_messages_event, |
| 135 gfx::NativeViewId dummy_activation_window) { } | 137 gfx::NativeViewId dummy_activation_window) { } |
| 136 void ReparentPluginWindow(HWND window, HWND parent) { } | 138 void ReparentPluginWindow(HWND window, HWND parent) { } |
| 137 void ReportExecutableMemory(size_t size) { } | 139 void ReportExecutableMemory(size_t size) { } |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 std::vector<std::string> arg_values_; | 331 std::vector<std::string> arg_values_; |
| 330 | 332 |
| 331 base::WeakPtrFactory<WebPluginImpl> weak_factory_; | 333 base::WeakPtrFactory<WebPluginImpl> weak_factory_; |
| 332 | 334 |
| 333 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); | 335 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); |
| 334 }; | 336 }; |
| 335 | 337 |
| 336 } // namespace content | 338 } // namespace content |
| 337 | 339 |
| 338 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_ | 340 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_ |
| OLD | NEW |