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

Side by Side Diff: content/plugin/npobject_base.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/DEPS ('k') | content/plugin/npobject_proxy.h » ('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-2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2010 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 // Base interface implemented by NPObjectProxy and NPObjectStub 5 // Base interface implemented by NPObjectProxy and NPObjectStub
6 6
7 #ifndef CHROME_PLUGIN_NPOBJECT_BASE_H_ 7 #ifndef CONTENT_PLUGIN_NPOBJECT_BASE_H_
8 #define CHROME_PLUGIN_NPOBJECT_BASE_H_ 8 #define CONTENT_PLUGIN_NPOBJECT_BASE_H_
9 #pragma once 9 #pragma once
10 10
11 #include "ipc/ipc_channel.h" 11 #include "ipc/ipc_channel.h"
12 #include "third_party/npapi/bindings/npruntime.h" 12 #include "third_party/npapi/bindings/npruntime.h"
13 13
14 struct NPObject; 14 struct NPObject;
15 15
16 class NPObjectBase { 16 class NPObjectBase {
17 public: 17 public:
18 virtual ~NPObjectBase() {} 18 virtual ~NPObjectBase() {}
19 19
20 // Returns the underlying NPObject handled by this NPObjectBase instance. 20 // Returns the underlying NPObject handled by this NPObjectBase instance.
21 virtual NPObject* GetUnderlyingNPObject() = 0; 21 virtual NPObject* GetUnderlyingNPObject() = 0;
22 22
23 // Returns the channel listener for this NPObjectBase instance. 23 // Returns the channel listener for this NPObjectBase instance.
24 virtual IPC::Channel::Listener* GetChannelListener() = 0; 24 virtual IPC::Channel::Listener* GetChannelListener() = 0;
25 }; 25 };
26 26
27 #endif // CHROME_PLUGIN_NPOBJECT_BASE_H_ 27 #endif // CONTENT_PLUGIN_NPOBJECT_BASE_H_
28
OLDNEW
« no previous file with comments | « content/plugin/DEPS ('k') | content/plugin/npobject_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698