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

Side by Side Diff: webkit/plugins/npapi/webplugin.h

Issue 7791005: Stop using the default profile's proxy service for plugin proxy requests, and instead use the ass... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix test Created 9 years, 3 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
« no previous file with comments | « webkit/plugins/npapi/plugin_host.cc ('k') | webkit/plugins/npapi/webplugin_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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_NPAPI_WEBPLUGIN_H_ 5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_
6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_ 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 virtual void InvalidateRect(const gfx::Rect& rect) = 0; 94 virtual void InvalidateRect(const gfx::Rect& rect) = 0;
95 95
96 // Returns the NPObject for the browser's window object. Does not 96 // Returns the NPObject for the browser's window object. Does not
97 // take a reference. 97 // take a reference.
98 virtual NPObject* GetWindowScriptNPObject() = 0; 98 virtual NPObject* GetWindowScriptNPObject() = 0;
99 99
100 // Returns the DOM element that loaded the plugin. Does not take a 100 // Returns the DOM element that loaded the plugin. Does not take a
101 // reference. 101 // reference.
102 virtual NPObject* GetPluginElement() = 0; 102 virtual NPObject* GetPluginElement() = 0;
103 103
104 // Resolves the proxies for the url, returns true on success.
105 virtual bool FindProxyForUrl(const GURL& url, std::string* proxy_list) = 0;
106
104 // Cookies 107 // Cookies
105 virtual void SetCookie(const GURL& url, 108 virtual void SetCookie(const GURL& url,
106 const GURL& first_party_for_cookies, 109 const GURL& first_party_for_cookies,
107 const std::string& cookie) = 0; 110 const std::string& cookie) = 0;
108 virtual std::string GetCookies(const GURL& url, 111 virtual std::string GetCookies(const GURL& url,
109 const GURL& first_party_for_cookies) = 0; 112 const GURL& first_party_for_cookies) = 0;
110 113
111 // When a default plugin has downloaded the plugin list and finds it is 114 // When a default plugin has downloaded the plugin list and finds it is
112 // available, it calls this method to notify the renderer. Also it will update 115 // available, it calls this method to notify the renderer. Also it will update
113 // the status when user clicks on the plugin to install. 116 // the status when user clicks on the plugin to install.
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 virtual void DidFinishLoading() = 0; 189 virtual void DidFinishLoading() = 0;
187 virtual void DidFail() = 0; 190 virtual void DidFail() = 0;
188 virtual bool IsMultiByteResponseExpected() = 0; 191 virtual bool IsMultiByteResponseExpected() = 0;
189 virtual int ResourceId() = 0; 192 virtual int ResourceId() = 0;
190 }; 193 };
191 194
192 } // namespace npapi 195 } // namespace npapi
193 } // namespace webkit 196 } // namespace webkit
194 197
195 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_ 198 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_H_
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/plugin_host.cc ('k') | webkit/plugins/npapi/webplugin_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698