Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(775)

Side by Side Diff: webkit/plugins/ppapi/plugin_delegate.h

Issue 10342013: Generate and connect a Pepper identifier for Chrome OS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup as per brettw; move to serializedreturnvar in the host msg bounce step Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 const std::vector< ::ppapi::DeviceRefData>& /* devices */)> 618 const std::vector< ::ppapi::DeviceRefData>& /* devices */)>
619 EnumerateDevicesCallback; 619 EnumerateDevicesCallback;
620 620
621 // Enumerates devices of the specified type. The request ID passed into the 621 // Enumerates devices of the specified type. The request ID passed into the
622 // callback will be the same as the return value. 622 // callback will be the same as the return value.
623 virtual int EnumerateDevices(PP_DeviceType_Dev type, 623 virtual int EnumerateDevices(PP_DeviceType_Dev type,
624 const EnumerateDevicesCallback& callback) = 0; 624 const EnumerateDevicesCallback& callback) = 0;
625 // Create a ClipboardClient for writing to the clipboard. The caller will own 625 // Create a ClipboardClient for writing to the clipboard. The caller will own
626 // the pointer to this. 626 // the pointer to this.
627 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0; 627 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0;
628
629 // Returns a Device ID
630 virtual std::string GetDeviceID() = 0;
628 }; 631 };
629 632
630 } // namespace ppapi 633 } // namespace ppapi
631 } // namespace webkit 634 } // namespace webkit
632 635
633 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 636 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698