| 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_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 void ViewWillInitiatePaint(); | 109 void ViewWillInitiatePaint(); |
| 110 void ViewInitiatedPaint(); | 110 void ViewInitiatedPaint(); |
| 111 void ViewFlushedPaint(); | 111 void ViewFlushedPaint(); |
| 112 | 112 |
| 113 // Called by RenderView to implement the corresponding function in its base | 113 // Called by RenderView to implement the corresponding function in its base |
| 114 // class RenderWidget (see that for more). | 114 // class RenderWidget (see that for more). |
| 115 webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( | 115 webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( |
| 116 const gfx::Rect& paint_bounds, | 116 const gfx::Rect& paint_bounds, |
| 117 TransportDIB** dib, | 117 TransportDIB** dib, |
| 118 gfx::Rect* location, | 118 gfx::Rect* location, |
| 119 gfx::Rect* clip); | 119 gfx::Rect* clip, |
| 120 float* scale_factor); |
| 120 | 121 |
| 121 // Called by RenderView when ViewMsg_AsyncOpenFile_ACK. | 122 // Called by RenderView when ViewMsg_AsyncOpenFile_ACK. |
| 122 void OnAsyncFileOpened(base::PlatformFileError error_code, | 123 void OnAsyncFileOpened(base::PlatformFileError error_code, |
| 123 base::PlatformFile file, | 124 base::PlatformFile file, |
| 124 int message_id); | 125 int message_id); |
| 125 | 126 |
| 126 // Called by RenderView when ViewMsg_PpapiBrokerChannelCreated. | 127 // Called by RenderView when ViewMsg_PpapiBrokerChannelCreated. |
| 127 void OnPpapiBrokerChannelCreated(int request_id, | 128 void OnPpapiBrokerChannelCreated(int request_id, |
| 128 const IPC::ChannelHandle& handle); | 129 const IPC::ChannelHandle& handle); |
| 129 | 130 |
| (...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 | 523 |
| 523 scoped_ptr<PepperDeviceEnumerationEventHandler> | 524 scoped_ptr<PepperDeviceEnumerationEventHandler> |
| 524 device_enumeration_event_handler_; | 525 device_enumeration_event_handler_; |
| 525 | 526 |
| 526 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 527 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
| 527 }; | 528 }; |
| 528 | 529 |
| 529 } // namespace content | 530 } // namespace content |
| 530 | 531 |
| 531 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 532 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| OLD | NEW |