Chromium Code Reviews| 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 WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 583 const std::vector< ::ppapi::DeviceRefData>& /* devices */)> | 583 const std::vector< ::ppapi::DeviceRefData>& /* devices */)> |
| 584 EnumerateDevicesCallback; | 584 EnumerateDevicesCallback; |
| 585 | 585 |
| 586 // Enumerates devices of the specified type. The request ID passed into the | 586 // Enumerates devices of the specified type. The request ID passed into the |
| 587 // callback will be the same as the return value. | 587 // callback will be the same as the return value. |
| 588 virtual int EnumerateDevices(PP_DeviceType_Dev type, | 588 virtual int EnumerateDevices(PP_DeviceType_Dev type, |
| 589 const EnumerateDevicesCallback& callback) = 0; | 589 const EnumerateDevicesCallback& callback) = 0; |
| 590 // Create a ClipboardClient for writing to the clipboard. The caller will own | 590 // Create a ClipboardClient for writing to the clipboard. The caller will own |
| 591 // the pointer to this. | 591 // the pointer to this. |
| 592 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0; | 592 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0; |
| 593 | |
| 594 virtual int GetRendererId() = 0; | |
|
jam
2012/03/16 21:49:45
nit: add a comment.
this should also be called Ge
| |
| 593 }; | 595 }; |
| 594 | 596 |
| 595 } // namespace ppapi | 597 } // namespace ppapi |
| 596 } // namespace webkit | 598 } // namespace webkit |
| 597 | 599 |
| 598 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 600 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
| OLD | NEW |