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

Side by Side Diff: o3d/gpu_plugin/np_utils/np_dispatcher_specializations.h

Issue 196032: Replaced BaseNPObject with DefaultNPObject because...... (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
« no previous file with comments | « o3d/gpu_plugin/np_utils/np_dispatcher.cc ('k') | o3d/gpu_plugin/np_utils/np_object_mock.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-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 // There is deliberately no sentry here. This file is included multiple times, 5 // There is deliberately no header guard here. This file is included multiple
6 // once for each dispatcher specialiation arity. 6 // times, once for each dispatcher specialiation arity. Do not include this
7 // file directly. Include np_dispatcher.h instead.
7 8
8 template <typename NPObjectType PARAM_TYPENAMES> 9 template <typename NPObjectType PARAM_TYPENAMES>
9 class NPDispatcher<NPObjectType, void(PARAM_TYPES)> 10 class NPDispatcher<NPObjectType, void(PARAM_TYPES)>
10 : public BaseNPDispatcher { 11 : public BaseNPDispatcher {
11 typedef void (NPObjectType::*FunctionType)(PARAM_TYPES); 12 typedef void (NPObjectType::*FunctionType)(PARAM_TYPES);
12 public: 13 public:
13 NPDispatcher(BaseNPDispatcher* next, 14 NPDispatcher(BaseNPDispatcher* next,
14 const NPUTF8* name, 15 const NPUTF8* name,
15 FunctionType function) 16 FunctionType function)
16 : BaseNPDispatcher(next, name), 17 : BaseNPDispatcher(next, name),
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 private: 76 private:
76 FunctionType function_; 77 FunctionType function_;
77 }; 78 };
78 79
79 #undef NUM_PARAMS 80 #undef NUM_PARAMS
80 #undef PARAM_TYPENAMES 81 #undef PARAM_TYPENAMES
81 #undef PARAM_TYPES 82 #undef PARAM_TYPES
82 #undef PARAM_NAMES 83 #undef PARAM_NAMES
83 #undef PARAM_DECLS 84 #undef PARAM_DECLS
84 #undef PARAM_TO_NVPARIANT_CONVERSIONS 85 #undef PARAM_TO_NVPARIANT_CONVERSIONS
OLDNEW
« no previous file with comments | « o3d/gpu_plugin/np_utils/np_dispatcher.cc ('k') | o3d/gpu_plugin/np_utils/np_object_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698