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

Side by Side Diff: content/renderer/webplugin_delegate_proxy.h

Issue 7812020: Moved the following IPC messages used by the chrome NPAPI plugin installer out of content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' 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 | « content/renderer/render_view.cc ('k') | content/renderer/webplugin_delegate_proxy.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 CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ 5 #ifndef CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_
6 #define CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ 6 #define CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 int notify_id); 107 int notify_id);
108 108
109 virtual void DidReceiveManualResponse(const GURL& url, 109 virtual void DidReceiveManualResponse(const GURL& url,
110 const std::string& mime_type, 110 const std::string& mime_type,
111 const std::string& headers, 111 const std::string& headers,
112 uint32 expected_length, 112 uint32 expected_length,
113 uint32 last_modified); 113 uint32 last_modified);
114 virtual void DidReceiveManualData(const char* buffer, int length); 114 virtual void DidReceiveManualData(const char* buffer, int length);
115 virtual void DidFinishManualLoading(); 115 virtual void DidFinishManualLoading();
116 virtual void DidManualLoadFail(); 116 virtual void DidManualLoadFail();
117 virtual void InstallMissingPlugin();
118 virtual webkit::npapi::WebPluginResourceClient* CreateResourceClient( 117 virtual webkit::npapi::WebPluginResourceClient* CreateResourceClient(
119 unsigned long resource_id, const GURL& url, int notify_id); 118 unsigned long resource_id, const GURL& url, int notify_id);
120 virtual webkit::npapi::WebPluginResourceClient* CreateSeekableResourceClient( 119 virtual webkit::npapi::WebPluginResourceClient* CreateSeekableResourceClient(
121 unsigned long resource_id, int range_request_id); 120 unsigned long resource_id, int range_request_id);
122 121
123 gfx::PluginWindowHandle GetPluginWindowHandle(); 122 gfx::PluginWindowHandle GetPluginWindowHandle();
124 123
125 protected: 124 protected:
126 template<class WebPluginDelegateProxy> friend class DeleteTask; 125 template<class WebPluginDelegateProxy> friend class DeleteTask;
127 virtual ~WebPluginDelegateProxy(); 126 virtual ~WebPluginDelegateProxy();
(...skipping 18 matching lines...) Expand all
146 void OnHandleURLRequest(const PluginHostMsg_URLRequest_Params& params); 145 void OnHandleURLRequest(const PluginHostMsg_URLRequest_Params& params);
147 void OnCancelResource(int id); 146 void OnCancelResource(int id);
148 void OnInvalidateRect(const gfx::Rect& rect, bool allow_buffer_flipping); 147 void OnInvalidateRect(const gfx::Rect& rect, bool allow_buffer_flipping);
149 void OnGetWindowScriptNPObject(int route_id, bool* success); 148 void OnGetWindowScriptNPObject(int route_id, bool* success);
150 void OnGetPluginElement(int route_id, bool* success); 149 void OnGetPluginElement(int route_id, bool* success);
151 void OnSetCookie(const GURL& url, 150 void OnSetCookie(const GURL& url,
152 const GURL& first_party_for_cookies, 151 const GURL& first_party_for_cookies,
153 const std::string& cookie); 152 const std::string& cookie);
154 void OnGetCookies(const GURL& url, const GURL& first_party_for_cookies, 153 void OnGetCookies(const GURL& url, const GURL& first_party_for_cookies,
155 std::string* cookies); 154 std::string* cookies);
156 void OnMissingPluginStatus(int status);
157 void OnCancelDocumentLoad(); 155 void OnCancelDocumentLoad();
158 void OnInitiateHTTPRangeRequest(const std::string& url, 156 void OnInitiateHTTPRangeRequest(const std::string& url,
159 const std::string& range_info, 157 const std::string& range_info,
160 int range_request_id); 158 int range_request_id);
161 void OnDeferResourceLoading(unsigned long resource_id, bool defer); 159 void OnDeferResourceLoading(unsigned long resource_id, bool defer);
162 160
163 #if defined(OS_MACOSX) 161 #if defined(OS_MACOSX)
164 void OnFocusChanged(bool focused); 162 void OnFocusChanged(bool focused);
165 void OnStartIme(); 163 void OnStartIme();
166 void OnBindFakePluginWindowHandle(bool opaque); 164 void OnBindFakePluginWindowHandle(bool opaque);
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 // back-buffer. 299 // back-buffer.
302 gfx::Rect front_buffer_diff_; 300 gfx::Rect front_buffer_diff_;
303 301
304 // The url of the main frame hosting the plugin. 302 // The url of the main frame hosting the plugin.
305 GURL page_url_; 303 GURL page_url_;
306 304
307 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); 305 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy);
308 }; 306 };
309 307
310 #endif // CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ 308 #endif // CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view.cc ('k') | content/renderer/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698