| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ |
| 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ | 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <list> | 9 #include <list> |
| 10 | 10 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 bool success, | 116 bool success, |
| 117 int notify_id); | 117 int notify_id); |
| 118 virtual void DidReceiveManualResponse(const GURL& url, | 118 virtual void DidReceiveManualResponse(const GURL& url, |
| 119 const std::string& mime_type, | 119 const std::string& mime_type, |
| 120 const std::string& headers, | 120 const std::string& headers, |
| 121 uint32 expected_length, | 121 uint32 expected_length, |
| 122 uint32 last_modified); | 122 uint32 last_modified); |
| 123 virtual void DidReceiveManualData(const char* buffer, int length); | 123 virtual void DidReceiveManualData(const char* buffer, int length); |
| 124 virtual void DidFinishManualLoading(); | 124 virtual void DidFinishManualLoading(); |
| 125 virtual void DidManualLoadFail(); | 125 virtual void DidManualLoadFail(); |
| 126 virtual void InstallMissingPlugin(); | |
| 127 virtual WebPluginResourceClient* CreateResourceClient( | 126 virtual WebPluginResourceClient* CreateResourceClient( |
| 128 unsigned long resource_id, const GURL& url, int notify_id); | 127 unsigned long resource_id, const GURL& url, int notify_id); |
| 129 virtual WebPluginResourceClient* CreateSeekableResourceClient( | 128 virtual WebPluginResourceClient* CreateSeekableResourceClient( |
| 130 unsigned long resource_id, int range_request_id); | 129 unsigned long resource_id, int range_request_id); |
| 131 // End of WebPluginDelegate implementation. | 130 // End of WebPluginDelegate implementation. |
| 132 | 131 |
| 133 bool IsWindowless() const { return windowless_ ; } | 132 bool IsWindowless() const { return windowless_ ; } |
| 134 gfx::Rect GetRect() const { return window_rect_; } | 133 gfx::Rect GetRect() const { return window_rect_; } |
| 135 gfx::Rect GetClipRect() const { return clip_rect_; } | 134 gfx::Rect GetClipRect() const { return clip_rect_; } |
| 136 | 135 |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 // True if NPP_New did not return an error. | 521 // True if NPP_New did not return an error. |
| 523 bool creation_succeeded_; | 522 bool creation_succeeded_; |
| 524 | 523 |
| 525 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); | 524 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); |
| 526 }; | 525 }; |
| 527 | 526 |
| 528 } // namespace npapi | 527 } // namespace npapi |
| 529 } // namespace webkit | 528 } // namespace webkit |
| 530 | 529 |
| 531 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ | 530 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ |
| OLD | NEW |