| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ | 5 #ifndef CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ |
| 6 #define CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ | 6 #define CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 virtual void DidReceiveManualResponse(const GURL& url, | 68 virtual void DidReceiveManualResponse(const GURL& url, |
| 69 const std::string& mime_type, | 69 const std::string& mime_type, |
| 70 const std::string& headers, | 70 const std::string& headers, |
| 71 uint32 expected_length, | 71 uint32 expected_length, |
| 72 uint32 last_modified); | 72 uint32 last_modified); |
| 73 virtual void DidReceiveManualData(const char* buffer, int length); | 73 virtual void DidReceiveManualData(const char* buffer, int length); |
| 74 virtual void DidFinishManualLoading(); | 74 virtual void DidFinishManualLoading(); |
| 75 virtual void DidManualLoadFail(); | 75 virtual void DidManualLoadFail(); |
| 76 virtual void InstallMissingPlugin(); | 76 virtual void InstallMissingPlugin(); |
| 77 virtual webkit_glue::WebPluginResourceClient* CreateResourceClient( | 77 virtual webkit_glue::WebPluginResourceClient* CreateResourceClient( |
| 78 int resource_id, | 78 unsigned long resource_id, |
| 79 const GURL& url, | 79 const GURL& url, |
| 80 bool notify_needed, | 80 bool notify_needed, |
| 81 intptr_t notify_data, | 81 intptr_t notify_data, |
| 82 intptr_t stream); | 82 intptr_t stream); |
| 83 virtual NPError Device2DQueryCapability(int32 capability, int32* value); | 83 virtual NPError Device2DQueryCapability(int32 capability, int32* value); |
| 84 virtual NPError Device2DQueryConfig(const NPDeviceContext2DConfig* request, | 84 virtual NPError Device2DQueryConfig(const NPDeviceContext2DConfig* request, |
| 85 NPDeviceContext2DConfig* obtain); | 85 NPDeviceContext2DConfig* obtain); |
| 86 virtual NPError Device2DInitializeContext( | 86 virtual NPError Device2DInitializeContext( |
| 87 const NPDeviceContext2DConfig* config, | 87 const NPDeviceContext2DConfig* config, |
| 88 NPDeviceContext2D* context); | 88 NPDeviceContext2D* context); |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 typedef std::map< void*, linked_ptr<OpenPaintContext> > OpenPaintContextMap; | 151 typedef std::map< void*, linked_ptr<OpenPaintContext> > OpenPaintContextMap; |
| 152 OpenPaintContextMap open_paint_contexts_; | 152 OpenPaintContextMap open_paint_contexts_; |
| 153 | 153 |
| 154 // The url with which the plugin was instantiated. | 154 // The url with which the plugin was instantiated. |
| 155 std::string plugin_url_; | 155 std::string plugin_url_; |
| 156 | 156 |
| 157 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegatePepper); | 157 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegatePepper); |
| 158 }; | 158 }; |
| 159 | 159 |
| 160 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ | 160 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ |
| OLD | NEW |