Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 367 #include "V8HTMLVideoElement.h" | 367 #include "V8HTMLVideoElement.h" |
| 368 #include "V8MediaError.h" | 368 #include "V8MediaError.h" |
| 369 #include "V8TimeRanges.h" | 369 #include "V8TimeRanges.h" |
| 370 #endif | 370 #endif |
| 371 | 371 |
| 372 #if ENABLE(WORKERS) | 372 #if ENABLE(WORKERS) |
| 373 #include "V8Worker.h" | 373 #include "V8Worker.h" |
| 374 #include "V8WorkerContext.h" | 374 #include "V8WorkerContext.h" |
| 375 #include "V8WorkerLocation.h" | 375 #include "V8WorkerLocation.h" |
| 376 #include "V8WorkerNavigator.h" | 376 #include "V8WorkerNavigator.h" |
| 377 #endif | 377 #endif |
|
michaeln
2009/07/14 19:02:05
ditto no changes in this file... should there be s
jorlow
2009/07/14 19:12:50
it's in here.
another file that's now reverted
| |
| 378 | 378 |
| 379 namespace WebCore { | 379 namespace WebCore { |
| 380 | 380 |
| 381 FunctionTemplateFactory V8ClassIndex::GetFactory(V8WrapperType type) | 381 FunctionTemplateFactory V8ClassIndex::GetFactory(V8WrapperType type) |
| 382 { | 382 { |
| 383 switch (type) { | 383 switch (type) { |
| 384 #define MAKE_CASE(type, name)\ | 384 #define MAKE_CASE(type, name)\ |
| 385 case V8ClassIndex::type: return V8##name::GetTemplate; | 385 case V8ClassIndex::type: return V8##name::GetTemplate; |
| 386 WRAPPER_TYPES(MAKE_CASE) | 386 WRAPPER_TYPES(MAKE_CASE) |
| 387 #undef MAKE_CASE | 387 #undef MAKE_CASE |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 403 case V8ClassIndex::type: return &name##_cache_; | 403 case V8ClassIndex::type: return &name##_cache_; |
| 404 ALL_WRAPPER_TYPES(MAKE_CASE) | 404 ALL_WRAPPER_TYPES(MAKE_CASE) |
| 405 #undef MAKE_CASE | 405 #undef MAKE_CASE |
| 406 default: | 406 default: |
| 407 ASSERT(false); | 407 ASSERT(false); |
| 408 return NULL; | 408 return NULL; |
| 409 } | 409 } |
| 410 } | 410 } |
| 411 | 411 |
| 412 } // namespace WebCore | 412 } // namespace WebCore |
| OLD | NEW |