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

Side by Side Diff: webkit/plugins/npapi/webplugin_impl.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/webplugin.h ('k') | webkit/plugins/npapi/webplugin_impl.cc » ('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_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_
6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_ 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 virtual void WillDestroyWindow(gfx::PluginWindowHandle window); 98 virtual void WillDestroyWindow(gfx::PluginWindowHandle window);
99 #if defined(OS_WIN) 99 #if defined(OS_WIN)
100 void SetWindowlessPumpEvent(HANDLE pump_messages_event) { } 100 void SetWindowlessPumpEvent(HANDLE pump_messages_event) { }
101 void ReparentPluginWindow(HWND window, HWND parent) { } 101 void ReparentPluginWindow(HWND window, HWND parent) { }
102 #endif 102 #endif
103 virtual void CancelResource(unsigned long id); 103 virtual void CancelResource(unsigned long id);
104 virtual void Invalidate(); 104 virtual void Invalidate();
105 virtual void InvalidateRect(const gfx::Rect& rect); 105 virtual void InvalidateRect(const gfx::Rect& rect);
106 virtual NPObject* GetWindowScriptNPObject(); 106 virtual NPObject* GetWindowScriptNPObject();
107 virtual NPObject* GetPluginElement(); 107 virtual NPObject* GetPluginElement();
108 virtual bool FindProxyForUrl(const GURL& url, std::string* proxy_list);
108 virtual void SetCookie(const GURL& url, 109 virtual void SetCookie(const GURL& url,
109 const GURL& first_party_for_cookies, 110 const GURL& first_party_for_cookies,
110 const std::string& cookie); 111 const std::string& cookie);
111 virtual std::string GetCookies(const GURL& url, 112 virtual std::string GetCookies(const GURL& url,
112 const GURL& first_party_for_cookies); 113 const GURL& first_party_for_cookies);
113 virtual void OnMissingPluginStatus(int status); 114 virtual void OnMissingPluginStatus(int status);
114 115
115 virtual void URLRedirectResponse(bool allow, int resource_id); 116 virtual void URLRedirectResponse(bool allow, int resource_id);
116 117
117 // Given a (maybe partial) url, completes using the base url. 118 // Given a (maybe partial) url, completes using the base url.
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 302
302 ScopedRunnableMethodFactory<WebPluginImpl> method_factory_; 303 ScopedRunnableMethodFactory<WebPluginImpl> method_factory_;
303 304
304 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); 305 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl);
305 }; 306 };
306 307
307 } // namespace npapi 308 } // namespace npapi
308 } // namespace webkit 309 } // namespace webkit
309 310
310 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_ 311 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/webplugin.h ('k') | webkit/plugins/npapi/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698