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

Side by Side Diff: content/child/npapi/webplugin.h

Issue 1426923007: Remove PluginLoadObserver and related logic, it was only used for NPAPI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
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 CONTENT_CHILD_NPAPI_WEBPLUGIN_H_ 5 #ifndef CONTENT_CHILD_NPAPI_WEBPLUGIN_H_
6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_H_ 6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 virtual bool FindProxyForUrl(const GURL& url, std::string* proxy_list) = 0; 64 virtual bool FindProxyForUrl(const GURL& url, std::string* proxy_list) = 0;
65 65
66 // Cookies 66 // Cookies
67 virtual void SetCookie(const GURL& url, 67 virtual void SetCookie(const GURL& url,
68 const GURL& first_party_for_cookies, 68 const GURL& first_party_for_cookies,
69 const std::string& cookie) = 0; 69 const std::string& cookie) = 0;
70 virtual std::string GetCookies(const GURL& url, 70 virtual std::string GetCookies(const GURL& url,
71 const GURL& first_party_for_cookies) = 0; 71 const GURL& first_party_for_cookies) = 0;
72 72
73 // Handles GetURL/GetURLNotify/PostURL/PostURLNotify requests initiated 73 // Handles GetURL/GetURLNotify/PostURL/PostURLNotify requests initiated
74 // by plugins. If the plugin wants notification of the result, notify_id will 74 // by plugins.
75 // be non-zero.
76 virtual void HandleURLRequest(const char* url, 75 virtual void HandleURLRequest(const char* url,
77 const char* method, 76 const char* method,
78 const char* target, 77 const char* target,
79 const char* buf, 78 const char* buf,
80 unsigned int len, 79 unsigned int len,
81 int notify_id,
82 bool popups_allowed, 80 bool popups_allowed,
83 bool notify_redirects) = 0; 81 bool notify_redirects) = 0;
84 82
85 // Cancels document load. 83 // Cancels document load.
86 virtual void CancelDocumentLoad() = 0; 84 virtual void CancelDocumentLoad() = 0;
87 85
88 // Initiates a HTTP range request for an existing stream. 86 // Initiates a HTTP range request for an existing stream.
89 virtual void InitiateHTTPRangeRequest(const char* url, 87 virtual void InitiateHTTPRangeRequest(const char* url,
90 const char* range_info, 88 const char* range_info,
91 int range_request_id) = 0; 89 int range_request_id) = 0;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 virtual void AcceleratedPluginAllocatedIOSurface(int32 width, 137 virtual void AcceleratedPluginAllocatedIOSurface(int32 width,
140 int32 height, 138 int32 height,
141 uint32 surface_id) = 0; 139 uint32 surface_id) = 0;
142 virtual void AcceleratedPluginSwappedIOSurface() = 0; 140 virtual void AcceleratedPluginSwappedIOSurface() = 0;
143 #endif 141 #endif
144 }; 142 };
145 143
146 } // namespace content 144 } // namespace content
147 145
148 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_H_ 146 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698