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

Side by Side Diff: content/child/npapi/npobject_base.h

Issue 1483733002: Remove support for NPObjects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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
« no previous file with comments | « content/child/npapi/np_channel_base.cc ('k') | content/child/npapi/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
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 //
5 // Base interface used by NPChannelBase and implemented by NPObjectProxy and
6 // NPObjectStub.
7
8 #ifndef CONTENT_CHILD_NPAPI_NPOBJECT_BASE_H_
9 #define CONTENT_CHILD_NPAPI_NPOBJECT_BASE_H_
10
11 #include "ipc/ipc_listener.h"
12 #include "third_party/npapi/bindings/npruntime.h"
13
14 struct NPObject;
15
16 namespace content {
17
18 class NPObjectBase {
19 public:
20 virtual ~NPObjectBase() {}
21
22 // Returns the underlying NPObject handled by this NPObjectBase instance.
23 virtual NPObject* GetUnderlyingNPObject() = 0;
24
25 // Returns the channel listener for this NPObjectBase instance.
26 virtual IPC::Listener* GetChannelListener() = 0;
27 };
28
29 } // namespace content
30
31 #endif // CONTENT_CHILD_NPAPI_NPOBJECT_BASE_H_
OLDNEW
« no previous file with comments | « content/child/npapi/np_channel_base.cc ('k') | content/child/npapi/npobject_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698