| 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_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 // Sets the id of the texture that the plugin draws to. The id is in the | 336 // Sets the id of the texture that the plugin draws to. The id is in the |
| 337 // compositor space so it can use it to composite with rest of the page. | 337 // compositor space so it can use it to composite with rest of the page. |
| 338 // A value of zero indicates the plugin is not backed by a texture. | 338 // A value of zero indicates the plugin is not backed by a texture. |
| 339 void setBackingTextureId(unsigned int id); | 339 void setBackingTextureId(unsigned int id); |
| 340 | 340 |
| 341 // Internal helper function for PrintPage(). | 341 // Internal helper function for PrintPage(). |
| 342 bool PrintPageHelper(PP_PrintPageNumberRange_Dev* page_ranges, | 342 bool PrintPageHelper(PP_PrintPageNumberRange_Dev* page_ranges, |
| 343 int num_ranges, | 343 int num_ranges, |
| 344 WebKit::WebCanvas* canvas); | 344 WebKit::WebCanvas* canvas); |
| 345 | 345 |
| 346 void DoSetCursor(WebKit::WebCursorInfo* cursor); |
| 347 |
| 346 PluginDelegate* delegate_; | 348 PluginDelegate* delegate_; |
| 347 scoped_refptr<PluginModule> module_; | 349 scoped_refptr<PluginModule> module_; |
| 348 scoped_ptr< ::ppapi::PPP_Instance_Combined> instance_interface_; | 350 scoped_ptr< ::ppapi::PPP_Instance_Combined> instance_interface_; |
| 349 | 351 |
| 350 PP_Instance pp_instance_; | 352 PP_Instance pp_instance_; |
| 351 | 353 |
| 352 // NULL until we have been initialized. | 354 // NULL until we have been initialized. |
| 353 WebKit::WebPluginContainer* container_; | 355 WebKit::WebPluginContainer* container_; |
| 354 | 356 |
| 355 // Plugin URL. | 357 // Plugin URL. |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 488 uint32_t input_event_mask_; | 490 uint32_t input_event_mask_; |
| 489 uint32_t filtered_input_event_mask_; | 491 uint32_t filtered_input_event_mask_; |
| 490 | 492 |
| 491 DISALLOW_COPY_AND_ASSIGN(PluginInstance); | 493 DISALLOW_COPY_AND_ASSIGN(PluginInstance); |
| 492 }; | 494 }; |
| 493 | 495 |
| 494 } // namespace ppapi | 496 } // namespace ppapi |
| 495 } // namespace webkit | 497 } // namespace webkit |
| 496 | 498 |
| 497 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 499 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ |
| OLD | NEW |