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

Side by Side Diff: o3d/gpu_plugin/np_utils/np_browser_stub.cc

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 unified diff | Download patch | Annotate | Revision Log
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 #include "o3d/gpu_plugin/np_utils/np_browser_stub.h" 5 #include "o3d/gpu_plugin/np_utils/np_browser_stub.h"
6 #include "base/logging.h" 6 #include "base/logging.h"
7 7
8 namespace o3d { 8 namespace o3d {
9 namespace gpu_plugin { 9 namespace gpu_plugin {
10 10
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 NPIdentifier name, 96 NPIdentifier name,
97 const NPVariant* args, 97 const NPVariant* args,
98 uint32_t num_args, 98 uint32_t num_args,
99 NPVariant* result) { 99 NPVariant* result) {
100 return object->_class->invoke(object, name, args, num_args, result); 100 return object->_class->invoke(object, name, args, num_args, result);
101 } 101 }
102 102
103 NPObject* StubNPBrowser::GetWindowNPObject(NPP npp) { 103 NPObject* StubNPBrowser::GetWindowNPObject(NPP npp) {
104 return NULL; 104 return NULL;
105 } 105 }
106
107
108 NPSharedMemory* StubNPBrowser::MapSharedMemory(NPP id,
109 NPObject* object,
110 size_t size,
111 bool read_only) {
112 return NULL;
113 }
114
115 void StubNPBrowser::UnmapSharedMemory(NPP id,
116 NPSharedMemory* shared_memory) {
117 }
118 } // namespace gpu_plugin 106 } // namespace gpu_plugin
119 } // namespace o3d 107 } // namespace o3d
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698