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

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

Issue 11232014: Move a bunch of code in content\renderer to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 2 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
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_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 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 12 matching lines...) Expand all
23 23
24 #if defined(OS_MACOSX) 24 #if defined(OS_MACOSX)
25 #include "base/hash_tables.h" 25 #include "base/hash_tables.h"
26 #include "base/memory/linked_ptr.h" 26 #include "base/memory/linked_ptr.h"
27 #endif 27 #endif
28 28
29 struct NPObject; 29 struct NPObject;
30 class NPObjectStub; 30 class NPObjectStub;
31 class PluginChannelHost; 31 class PluginChannelHost;
32 struct PluginHostMsg_URLRequest_Params; 32 struct PluginHostMsg_URLRequest_Params;
33 class RenderViewImpl;
34 class SkBitmap; 33 class SkBitmap;
35 34
36 namespace base { 35 namespace base {
37 class WaitableEvent; 36 class WaitableEvent;
38 } 37 }
39 38
40 namespace skia { 39 namespace skia {
41 class PlatformCanvas; 40 class PlatformCanvas;
42 } 41 }
43 42
44 namespace webkit { 43 namespace webkit {
45 namespace npapi { 44 namespace npapi {
46 class WebPlugin; 45 class WebPlugin;
47 } 46 }
48 } 47 }
49 48
49 namespace content {
50 class RenderViewImpl;
51
50 // An implementation of WebPluginDelegate that proxies all calls to 52 // An implementation of WebPluginDelegate that proxies all calls to
51 // the plugin process. 53 // the plugin process.
52 class WebPluginDelegateProxy 54 class WebPluginDelegateProxy
53 : public webkit::npapi::WebPluginDelegate, 55 : public webkit::npapi::WebPluginDelegate,
54 public IPC::Listener, 56 public IPC::Listener,
55 public IPC::Sender, 57 public IPC::Sender,
56 public base::SupportsWeakPtr<WebPluginDelegateProxy> { 58 public base::SupportsWeakPtr<WebPluginDelegateProxy> {
57 public: 59 public:
58 WebPluginDelegateProxy(const std::string& mime_type, 60 WebPluginDelegateProxy(const std::string& mime_type,
59 const base::WeakPtr<RenderViewImpl>& render_view); 61 const base::WeakPtr<RenderViewImpl>& render_view);
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 // on the last buffer flip and which has not yet been re-painted in the 322 // on the last buffer flip and which has not yet been re-painted in the
321 // back-buffer. 323 // back-buffer.
322 gfx::Rect front_buffer_diff_; 324 gfx::Rect front_buffer_diff_;
323 325
324 // The url of the main frame hosting the plugin. 326 // The url of the main frame hosting the plugin.
325 GURL page_url_; 327 GURL page_url_;
326 328
327 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); 329 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy);
328 }; 330 };
329 331
332 } // namespace content
333
330 #endif // CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ 334 #endif // CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_
OLDNEW
« no previous file with comments | « content/renderer/web_intents_host_browsertest.cc ('k') | content/renderer/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698