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

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

Issue 5276006: O2D:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 10 years 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/cairo/renderer_cairo.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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 #include "core/cross/sampler.h" 59 #include "core/cross/sampler.h"
60 #include "core/cross/shape.h" 60 #include "core/cross/shape.h"
61 #include "core/cross/skin.h" 61 #include "core/cross/skin.h"
62 #include "core/cross/standard_param.h" 62 #include "core/cross/standard_param.h"
63 #include "core/cross/state_set.h" 63 #include "core/cross/state_set.h"
64 #include "core/cross/stream.h" 64 #include "core/cross/stream.h"
65 #include "core/cross/stream_bank.h" 65 #include "core/cross/stream_bank.h"
66 #include "core/cross/transform.h" 66 #include "core/cross/transform.h"
67 #include "core/cross/tree_traversal.h" 67 #include "core/cross/tree_traversal.h"
68 #include "core/cross/viewport.h" 68 #include "core/cross/viewport.h"
69 #if defined(RENDERER_CAIRO)
69 #include "core/cross/cairo/layer.h" 70 #include "core/cross/cairo/layer.h"
71 #endif
70 72
71 namespace o3d { 73 namespace o3d {
72 74
73 ClassManager::ClassManager(ServiceLocator* service_locator) 75 ClassManager::ClassManager(ServiceLocator* service_locator)
74 : service_locator_(service_locator), 76 : service_locator_(service_locator),
75 service_(service_locator_, this) { 77 service_(service_locator_, this) {
76 // Params 78 // Params
77 AddTypedClass<ParamBoolean>(); 79 AddTypedClass<ParamBoolean>();
78 AddTypedClass<ParamBoundingBox>(); 80 AddTypedClass<ParamBoundingBox>();
79 AddTypedClass<ParamDrawContext>(); 81 AddTypedClass<ParamDrawContext>();
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 std::vector<const ObjectBase::Class*> classes; 271 std::vector<const ObjectBase::Class*> classes;
270 for (ObjectClassInfoNameMap::const_iterator it = 272 for (ObjectClassInfoNameMap::const_iterator it =
271 object_class_info_name_map_.begin(); 273 object_class_info_name_map_.begin();
272 it != object_class_info_name_map_.end(); ++it) { 274 it != object_class_info_name_map_.end(); ++it) {
273 classes.push_back(it->second.class_type()); 275 classes.push_back(it->second.class_type());
274 } 276 }
275 return classes; 277 return classes;
276 } 278 }
277 279
278 } // namespace o3d 280 } // namespace o3d
OLDNEW
« no previous file with comments | « core/cross/cairo/renderer_cairo.cc ('k') | core/cross/pack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698