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

Side by Side Diff: core/cross/class_manager.cc

Issue 150058: expose bitmap in js. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 5 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 | « core/cross/bitmap_test.cc ('k') | core/cross/pack.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 /* 1 /*
2 * Copyright 2009, Google Inc. 2 * Copyright 2009, Google Inc.
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 AddTypedClass<ViewProjectionInverseParamMatrix4>(); 133 AddTypedClass<ViewProjectionInverseParamMatrix4>();
134 AddTypedClass<ViewProjectionTransposeParamMatrix4>(); 134 AddTypedClass<ViewProjectionTransposeParamMatrix4>();
135 AddTypedClass<ViewProjectionInverseTransposeParamMatrix4>(); 135 AddTypedClass<ViewProjectionInverseTransposeParamMatrix4>();
136 136
137 AddTypedClass<WorldViewProjectionParamMatrix4>(); 137 AddTypedClass<WorldViewProjectionParamMatrix4>();
138 AddTypedClass<WorldViewProjectionInverseParamMatrix4>(); 138 AddTypedClass<WorldViewProjectionInverseParamMatrix4>();
139 AddTypedClass<WorldViewProjectionTransposeParamMatrix4>(); 139 AddTypedClass<WorldViewProjectionTransposeParamMatrix4>();
140 AddTypedClass<WorldViewProjectionInverseTransposeParamMatrix4>(); 140 AddTypedClass<WorldViewProjectionInverseTransposeParamMatrix4>();
141 141
142 // Other Objects. 142 // Other Objects.
143 AddTypedClass<Bitmap>();
143 AddTypedClass<Canvas>(); 144 AddTypedClass<Canvas>();
144 AddTypedClass<CanvasLinearGradient>(); 145 AddTypedClass<CanvasLinearGradient>();
145 AddTypedClass<CanvasPaint>(); 146 AddTypedClass<CanvasPaint>();
146 AddTypedClass<ClearBuffer>(); 147 AddTypedClass<ClearBuffer>();
147 AddTypedClass<Counter>(); 148 AddTypedClass<Counter>();
148 AddTypedClass<Curve>(); 149 AddTypedClass<Curve>();
149 AddTypedClass<DrawContext>(); 150 AddTypedClass<DrawContext>();
150 AddTypedClass<DrawElement>(); 151 AddTypedClass<DrawElement>();
151 AddTypedClass<DrawList>(); 152 AddTypedClass<DrawList>();
152 AddTypedClass<DrawPass>(); 153 AddTypedClass<DrawPass>();
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 std::vector<const ObjectBase::Class*> classes; 253 std::vector<const ObjectBase::Class*> classes;
253 for (ObjectClassInfoNameMap::const_iterator it = 254 for (ObjectClassInfoNameMap::const_iterator it =
254 object_class_info_name_map_.begin(); 255 object_class_info_name_map_.begin();
255 it != object_class_info_name_map_.end(); ++it) { 256 it != object_class_info_name_map_.end(); ++it) {
256 classes.push_back(it->second.class_type()); 257 classes.push_back(it->second.class_type());
257 } 258 }
258 return classes; 259 return classes;
259 } 260 }
260 261
261 } // namespace o3d 262 } // namespace o3d
OLDNEW
« no previous file with comments | « core/cross/bitmap_test.cc ('k') | core/cross/pack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698