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

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

Issue 11413200: Refactored PPB_Flash GetSettings to the new pepper resource model (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/ppb_flash_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 const std::vector< ::ppapi::DeviceRefData>& /* devices */)> 664 const std::vector< ::ppapi::DeviceRefData>& /* devices */)>
665 EnumerateDevicesCallback; 665 EnumerateDevicesCallback;
666 666
667 // Enumerates devices of the specified type. The request ID passed into the 667 // Enumerates devices of the specified type. The request ID passed into the
668 // callback will be the same as the return value. 668 // callback will be the same as the return value.
669 virtual int EnumerateDevices(PP_DeviceType_Dev type, 669 virtual int EnumerateDevices(PP_DeviceType_Dev type,
670 const EnumerateDevicesCallback& callback) = 0; 670 const EnumerateDevicesCallback& callback) = 0;
671 // Stop enumerating devices of the specified |request_id|. The |request_id| 671 // Stop enumerating devices of the specified |request_id|. The |request_id|
672 // is the return value of EnumerateDevicesCallback. 672 // is the return value of EnumerateDevicesCallback.
673 virtual void StopEnumerateDevices(int request_id) = 0; 673 virtual void StopEnumerateDevices(int request_id) = 0;
674
675 // Returns restrictions on local data handled by the plug-in.
676 virtual PP_FlashLSORestrictions GetLocalDataRestrictions(
677 const GURL& document_url,
678 const GURL& plugin_url) = 0;
679 }; 674 };
680 675
681 } // namespace ppapi 676 } // namespace ppapi
682 } // namespace webkit 677 } // namespace webkit
683 678
684 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 679 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/ppb_flash_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698