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

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

Issue 10854131: Remove obsolete webkit_glue::P2PTransport interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 // Tell the browser when resource loading starts/ends. 595 // Tell the browser when resource loading starts/ends.
596 virtual void DidStartLoading() = 0; 596 virtual void DidStartLoading() = 0;
597 virtual void DidStopLoading() = 0; 597 virtual void DidStopLoading() = 0;
598 598
599 // Sets restrictions on how the content can be used (i.e. no print/copy). 599 // Sets restrictions on how the content can be used (i.e. no print/copy).
600 virtual void SetContentRestriction(int restrictions) = 0; 600 virtual void SetContentRestriction(int restrictions) = 0;
601 601
602 // Tells the browser to bring up SaveAs dialog to save specified URL. 602 // Tells the browser to bring up SaveAs dialog to save specified URL.
603 virtual void SaveURLAs(const GURL& url) = 0; 603 virtual void SaveURLAs(const GURL& url) = 0;
604 604
605 // Creates P2PTransport object.
606 virtual webkit_glue::P2PTransport* CreateP2PTransport() = 0;
607
608 virtual double GetLocalTimeZoneOffset(base::Time t) = 0; 605 virtual double GetLocalTimeZoneOffset(base::Time t) = 0;
609 606
610 // Create an anonymous shared memory segment of size |size| bytes, and return 607 // Create an anonymous shared memory segment of size |size| bytes, and return
611 // a pointer to it, or NULL on error. Caller owns the returned pointer. 608 // a pointer to it, or NULL on error. Caller owns the returned pointer.
612 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size) = 0; 609 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size) = 0;
613 610
614 // Returns the current preferences. 611 // Returns the current preferences.
615 virtual ::ppapi::Preferences GetPreferences() = 0; 612 virtual ::ppapi::Preferences GetPreferences() = 0;
616 613
617 // Locks the mouse for |instance|. If false is returned, the lock is not 614 // Locks the mouse for |instance|. If false is returned, the lock is not
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 // Returns restrictions on local data handled by the plug-in. 669 // Returns restrictions on local data handled by the plug-in.
673 virtual PP_FlashLSORestrictions GetLocalDataRestrictions( 670 virtual PP_FlashLSORestrictions GetLocalDataRestrictions(
674 const GURL& document_url, 671 const GURL& document_url,
675 const GURL& plugin_url) = 0; 672 const GURL& plugin_url) = 0;
676 }; 673 };
677 674
678 } // namespace ppapi 675 } // namespace ppapi
679 } // namespace webkit 676 } // namespace webkit
680 677
681 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 678 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
OLDNEW
« content/renderer/p2p/port_allocator.h ('K') | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698