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

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

Issue 20107: Cleanup some forward declared structs that are not being used. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 | « chrome/plugin/npobject_proxy.h ('k') | no next file » | 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H__ 5 #ifndef CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H__
6 #define CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H__ 6 #define CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H__
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/gfx/rect.h" 11 #include "base/gfx/rect.h"
12 #include "base/ref_counted.h" 12 #include "base/ref_counted.h"
13 #include "base/scoped_handle.h" 13 #include "base/scoped_handle.h"
14 #include "chrome/common/ipc_message.h" 14 #include "chrome/common/ipc_message.h"
15 #include "chrome/plugin/npobject_stub.h" 15 #include "chrome/plugin/npobject_stub.h"
16 #include "chrome/renderer/plugin_channel_host.h" 16 #include "chrome/renderer/plugin_channel_host.h"
17 #include "webkit/glue/webplugin.h" 17 #include "webkit/glue/webplugin.h"
18 #include "webkit/glue/webplugin_delegate.h" 18 #include "webkit/glue/webplugin_delegate.h"
19 19
20 class GURL; 20 class GURL;
21 struct PluginHostMsg_RouteToFrame_Params;
22 struct PluginHostMsg_URLRequest_Params; 21 struct PluginHostMsg_URLRequest_Params;
23 class RenderView; 22 class RenderView;
24 class SkBitmap; 23 class SkBitmap;
25 24
26 namespace base { 25 namespace base {
27 class SharedMemory; 26 class SharedMemory;
28 class WaitableEvent; 27 class WaitableEvent;
29 } 28 }
30 29
31 namespace skia { 30 namespace skia {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 RenderView* render_view); 107 RenderView* render_view);
109 108
110 // Message handlers for messages that proxy WebPlugin methods, which 109 // Message handlers for messages that proxy WebPlugin methods, which
111 // we translate into calls to the real WebPlugin. 110 // we translate into calls to the real WebPlugin.
112 void OnSetWindow(HWND window, HANDLE modal_loop_pump_messages_event); 111 void OnSetWindow(HWND window, HANDLE modal_loop_pump_messages_event);
113 void OnCompleteURL(const std::string& url_in, std::string* url_out, 112 void OnCompleteURL(const std::string& url_in, std::string* url_out,
114 bool* result); 113 bool* result);
115 void OnHandleURLRequest(const PluginHostMsg_URLRequest_Params& params); 114 void OnHandleURLRequest(const PluginHostMsg_URLRequest_Params& params);
116 void OnCancelResource(int id); 115 void OnCancelResource(int id);
117 void OnInvalidateRect(const gfx::Rect& rect); 116 void OnInvalidateRect(const gfx::Rect& rect);
118 void OnGetWindowScriptNPObject(int route_id, bool* success, void** npobject_pt r); 117 void OnGetWindowScriptNPObject(int route_id, bool* success,
118 void** npobject_ptr);
119 void OnGetPluginElement(int route_id, bool* success, void** npobject_ptr); 119 void OnGetPluginElement(int route_id, bool* success, void** npobject_ptr);
120 void OnSetCookie(const GURL& url, 120 void OnSetCookie(const GURL& url,
121 const GURL& policy_url, 121 const GURL& policy_url,
122 const std::string& cookie); 122 const std::string& cookie);
123 void OnGetCookies(const GURL& url, const GURL& policy_url, 123 void OnGetCookies(const GURL& url, const GURL& policy_url,
124 std::string* cookies); 124 std::string* cookies);
125 void OnShowModalHTMLDialog(const GURL& url, int width, int height, 125 void OnShowModalHTMLDialog(const GURL& url, int width, int height,
126 const std::string& json_arguments, 126 const std::string& json_arguments,
127 std::string* json_retval); 127 std::string* json_retval);
128 void OnMissingPluginStatus(int status); 128 void OnMissingPluginStatus(int status);
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 scoped_ptr<base::SharedMemory> transport_store_; 187 scoped_ptr<base::SharedMemory> transport_store_;
188 scoped_ptr<skia::PlatformCanvasWin> transport_store_canvas_; 188 scoped_ptr<skia::PlatformCanvasWin> transport_store_canvas_;
189 scoped_ptr<base::SharedMemory> background_store_; 189 scoped_ptr<base::SharedMemory> background_store_;
190 scoped_ptr<skia::PlatformCanvasWin> background_store_canvas_; 190 scoped_ptr<skia::PlatformCanvasWin> background_store_canvas_;
191 // This lets us know which portion of the backing store has been painted into. 191 // This lets us know which portion of the backing store has been painted into.
192 gfx::Rect backing_store_painted_; 192 gfx::Rect backing_store_painted_;
193 193
194 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateProxy); 194 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateProxy);
195 }; 195 };
196 196
197 #endif // #ifndef CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H__ 197 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_
198
OLDNEW
« no previous file with comments | « chrome/plugin/npobject_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698