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

Unified Diff: o3d/gpu_plugin/np_utils/np_browser.h

Issue 194049: Implemented shared memory as an NPObject. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: o3d/gpu_plugin/np_utils/np_browser.h
===================================================================
--- o3d/gpu_plugin/np_utils/np_browser.h (revision 25244)
+++ o3d/gpu_plugin/np_utils/np_browser.h (working copy)
@@ -9,7 +9,6 @@
#include "third_party/npapi/bindings/npruntime.h"
typedef struct _NPNetscapeFuncs NPNetscapeFuncs;
-typedef struct _NPChromiumFuncs NPChromiumFuncs;
namespace o3d {
namespace gpu_plugin {
@@ -72,20 +71,10 @@
virtual NPObject* GetWindowNPObject(NPP npp);
- // Chromium specific additions.
- virtual NPSharedMemory* MapSharedMemory(NPP id,
- NPObject* object,
- size_t size,
- bool read_only);
-
- virtual void UnmapSharedMemory(NPP id,
- NPSharedMemory* shared_memory);
-
private:
static NPBrowser* browser_;
NPBrowser* previous_browser_;
NPNetscapeFuncs* netscape_funcs_;
- NPChromiumFuncs* chromium_funcs_;
DISALLOW_COPY_AND_ASSIGN(NPBrowser);
};

Powered by Google App Engine
This is Rietveld 408576698