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

Side by Side Diff: content/plugin/npobject_stub.h

Issue 6672048: Move plugin code to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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/plugin/npobject_proxy.cc ('k') | content/plugin/npobject_stub.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 // A class that receives IPC messages from an NPObjectProxy and calls the real 5 // A class that receives IPC messages from an NPObjectProxy and calls the real
6 // NPObject. 6 // NPObject.
7 7
8 #ifndef CHROME_PLUGIN_NPOBJECT_STUB_H_ 8 #ifndef CONTENT_PLUGIN_NPOBJECT_STUB_H_
9 #define CHROME_PLUGIN_NPOBJECT_STUB_H_ 9 #define CONTENT_PLUGIN_NPOBJECT_STUB_H_
10 #pragma once 10 #pragma once
11 11
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/ref_counted.h" 14 #include "base/ref_counted.h"
15 #include "base/weak_ptr.h" 15 #include "base/weak_ptr.h"
16 #include "chrome/plugin/npobject_base.h" 16 #include "content/plugin/npobject_base.h"
17 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
18 #include "ipc/ipc_channel.h" 18 #include "ipc/ipc_channel.h"
19 #include "ui/gfx/native_widget_types.h" 19 #include "ui/gfx/native_widget_types.h"
20 20
21 class PluginChannelBase; 21 class PluginChannelBase;
22 struct NPIdentifier_Param; 22 struct NPIdentifier_Param;
23 struct NPObject; 23 struct NPObject;
24 struct NPVariant_Param; 24 struct NPVariant_Param;
25 25
26 // This wraps an NPObject and converts IPC messages from NPObjectProxy to calls 26 // This wraps an NPObject and converts IPC messages from NPObjectProxy to calls
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 private: 85 private:
86 NPObject* npobject_; 86 NPObject* npobject_;
87 scoped_refptr<PluginChannelBase> channel_; 87 scoped_refptr<PluginChannelBase> channel_;
88 int route_id_; 88 int route_id_;
89 gfx::NativeViewId containing_window_; 89 gfx::NativeViewId containing_window_;
90 90
91 // The url of the main frame hosting the plugin. 91 // The url of the main frame hosting the plugin.
92 GURL page_url_; 92 GURL page_url_;
93 }; 93 };
94 94
95 #endif // CHROME_PLUGIN_NPOBJECT_STUB_H_ 95 #endif // CONTENT_PLUGIN_NPOBJECT_STUB_H_
OLDNEW
« no previous file with comments | « content/plugin/npobject_proxy.cc ('k') | content/plugin/npobject_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698