| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 int32* id); | 141 int32* id); |
| 142 virtual NPError Device3DDestroyBuffer(NPDeviceContext3D* context, | 142 virtual NPError Device3DDestroyBuffer(NPDeviceContext3D* context, |
| 143 int32 id); | 143 int32 id); |
| 144 virtual NPError Device3DMapBuffer(NPDeviceContext3D* context, | 144 virtual NPError Device3DMapBuffer(NPDeviceContext3D* context, |
| 145 int32 id, | 145 int32 id, |
| 146 NPDeviceBuffer* buffer); | 146 NPDeviceBuffer* buffer); |
| 147 virtual NPError Device3DGetNumConfigs(int32* num_configs); | 147 virtual NPError Device3DGetNumConfigs(int32* num_configs); |
| 148 virtual NPError Device3DGetConfigAttribs(int32 config, | 148 virtual NPError Device3DGetConfigAttribs(int32 config, |
| 149 int32* attrib_list); | 149 int32* attrib_list); |
| 150 virtual NPError Device3DCreateContext(int32 config, | 150 virtual NPError Device3DCreateContext(int32 config, |
| 151 int32* attrib_list, | 151 const int32* attrib_list, |
| 152 NPDeviceContext3D** context); | 152 NPDeviceContext3D** context); |
| 153 virtual NPError Device3DRegisterCallback( | 153 virtual NPError Device3DRegisterCallback( |
| 154 NPP id, | 154 NPP id, |
| 155 NPDeviceContext3D* context, | 155 NPDeviceContext3D* context, |
| 156 int32 callback_type, | 156 int32 callback_type, |
| 157 NPDeviceGenericCallbackPtr callback, | 157 NPDeviceGenericCallbackPtr callback, |
| 158 void* callback_data); | 158 void* callback_data); |
| 159 virtual NPError Device3DSynchronizeContext( | 159 virtual NPError Device3DSynchronizeContext( |
| 160 NPP id, | 160 NPP id, |
| 161 NPDeviceContext3D* context, | 161 NPDeviceContext3D* context, |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 // pointer to the callback specified by the plugin. Will be NULL otherwise. | 333 // pointer to the callback specified by the plugin. Will be NULL otherwise. |
| 334 NPChooseFileCallback current_choose_file_callback_; | 334 NPChooseFileCallback current_choose_file_callback_; |
| 335 void* current_choose_file_user_data_; | 335 void* current_choose_file_user_data_; |
| 336 | 336 |
| 337 scoped_ptr<WebKit::WebCursorInfo> cursor_; | 337 scoped_ptr<WebKit::WebCursorInfo> cursor_; |
| 338 | 338 |
| 339 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegatePepper); | 339 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegatePepper); |
| 340 }; | 340 }; |
| 341 | 341 |
| 342 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ | 342 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ |
| OLD | NEW |