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

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

Issue 20015: Make it easier to create new IPC channel types (i.e. renderer/plugin). Inste... (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/renderer/render_widget.cc ('k') | chrome/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) 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/common/plugin_messages.h"
16 #include "chrome/plugin/npobject_stub.h" 15 #include "chrome/plugin/npobject_stub.h"
17 #include "chrome/renderer/plugin_channel_host.h" 16 #include "chrome/renderer/plugin_channel_host.h"
18 #include "webkit/glue/webplugin.h" 17 #include "webkit/glue/webplugin.h"
19 #include "webkit/glue/webplugin_delegate.h" 18 #include "webkit/glue/webplugin_delegate.h"
20 19
21 class GURL; 20 class GURL;
22 struct PluginHostMsg_RouteToFrame_Params; 21 struct PluginHostMsg_RouteToFrame_Params;
22 struct PluginHostMsg_URLRequest_Params;
23 class RenderView; 23 class RenderView;
24 class SkBitmap; 24 class SkBitmap;
25 25
26 namespace base { 26 namespace base {
27 class SharedMemory;
27 class WaitableEvent; 28 class WaitableEvent;
28 } 29 }
29 30
30 namespace skia { 31 namespace skia {
31 class PlatformCanvasWin; 32 class PlatformCanvasWin;
32 } 33 }
33 34
34 // An implementation of WebPluginDelegate that proxies all calls to 35 // An implementation of WebPluginDelegate that proxies all calls to
35 // the plugin process. 36 // the plugin process.
36 class WebPluginDelegateProxy : public WebPluginDelegate, 37 class WebPluginDelegateProxy : public WebPluginDelegate,
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 scoped_ptr<base::SharedMemory> background_store_; 189 scoped_ptr<base::SharedMemory> background_store_;
189 scoped_ptr<skia::PlatformCanvasWin> background_store_canvas_; 190 scoped_ptr<skia::PlatformCanvasWin> background_store_canvas_;
190 // 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.
191 gfx::Rect backing_store_painted_; 192 gfx::Rect backing_store_painted_;
192 193
193 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateProxy); 194 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateProxy);
194 }; 195 };
195 196
196 #endif // #ifndef CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H__ 197 #endif // #ifndef CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H__
197 198
OLDNEW
« no previous file with comments | « chrome/renderer/render_widget.cc ('k') | chrome/renderer/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698