| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |