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

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

Issue 11415140: Refactor 3 PPB_Flash functions to the new 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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 // size. 613 // size.
614 virtual gfx::Size GetScreenSize() = 0; 614 virtual gfx::Size GetScreenSize() = 0;
615 615
616 // Returns a string with the name of the default 8-bit char encoding. 616 // Returns a string with the name of the default 8-bit char encoding.
617 virtual std::string GetDefaultEncoding() = 0; 617 virtual std::string GetDefaultEncoding() = 0;
618 618
619 // Sets the minimum and maximum zoom factors. 619 // Sets the minimum and maximum zoom factors.
620 virtual void ZoomLimitsChanged(double minimum_factor, 620 virtual void ZoomLimitsChanged(double minimum_factor,
621 double maximum_factor) = 0; 621 double maximum_factor) = 0;
622 622
623 // Retrieves the proxy information for the given URL in PAC format. On error,
624 // this will return an empty string.
625 virtual std::string ResolveProxy(const GURL& url) = 0;
626
627 // Tell the browser when resource loading starts/ends. 623 // Tell the browser when resource loading starts/ends.
628 virtual void DidStartLoading() = 0; 624 virtual void DidStartLoading() = 0;
629 virtual void DidStopLoading() = 0; 625 virtual void DidStopLoading() = 0;
630 626
631 // Sets restrictions on how the content can be used (i.e. no print/copy). 627 // Sets restrictions on how the content can be used (i.e. no print/copy).
632 virtual void SetContentRestriction(int restrictions) = 0; 628 virtual void SetContentRestriction(int restrictions) = 0;
633 629
634 // Tells the browser to bring up SaveAs dialog to save specified URL. 630 // Tells the browser to bring up SaveAs dialog to save specified URL.
635 virtual void SaveURLAs(const GURL& url) = 0; 631 virtual void SaveURLAs(const GURL& url) = 0;
636 632
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 // Returns restrictions on local data handled by the plug-in. 691 // Returns restrictions on local data handled by the plug-in.
696 virtual PP_FlashLSORestrictions GetLocalDataRestrictions( 692 virtual PP_FlashLSORestrictions GetLocalDataRestrictions(
697 const GURL& document_url, 693 const GURL& document_url,
698 const GURL& plugin_url) = 0; 694 const GURL& plugin_url) = 0;
699 }; 695 };
700 696
701 } // namespace ppapi 697 } // namespace ppapi
702 } // namespace webkit 698 } // namespace webkit
703 699
704 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 700 #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