| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 | 271 |
| 272 // NOTE: DOM_OBJECT_TYPES is split into two halves because | 272 // NOTE: DOM_OBJECT_TYPES is split into two halves because |
| 273 // Visual Studio's Intellinonsense crashes when macros get | 273 // Visual Studio's Intellinonsense crashes when macros get |
| 274 // too large. 10-29-08 | 274 // too large. 10-29-08 |
| 275 // DOM_OBJECT_TYPES are non-node DOM types. | 275 // DOM_OBJECT_TYPES are non-node DOM types. |
| 276 #define DOM_OBJECT_TYPES_1(V) \ | 276 #define DOM_OBJECT_TYPES_1(V) \ |
| 277 V(BARINFO, BarInfo) \ | 277 V(BARINFO, BarInfo) \ |
| 278 V(CANVASGRADIENT, CanvasGradient) \ | 278 V(CANVASGRADIENT, CanvasGradient) \ |
| 279 V(CANVASPATTERN, CanvasPattern) \ | 279 V(CANVASPATTERN, CanvasPattern) \ |
| 280 V(CANVASRENDERINGCONTEXT2D, CanvasRenderingContext2D) \ | 280 V(CANVASRENDERINGCONTEXT2D, CanvasRenderingContext2D) \ |
| 281 V(CHAOS, Chaos) \ |
| 282 V(CHAOSCOORDINATES, ChaosCoordinates) \ |
| 283 V(CHAOSGEOLOCATION, ChaosGeolocation) \ |
| 284 V(CHAOSGEOPOSITION, ChaosGeoposition) \ |
| 285 V(CHAOSPOSITIONCALLBACK, ChaosPositionCallback) \ |
| 281 V(CLIENTRECT, ClientRect) \ | 286 V(CLIENTRECT, ClientRect) \ |
| 282 V(CLIENTRECTLIST, ClientRectList) \ | 287 V(CLIENTRECTLIST, ClientRectList) \ |
| 283 V(CLIPBOARD, Clipboard) \ | 288 V(CLIPBOARD, Clipboard) \ |
| 284 V(CONSOLE, Console) \ | 289 V(CONSOLE, Console) \ |
| 285 V(COUNTER, Counter) \ | 290 V(COUNTER, Counter) \ |
| 286 V(CSSCHARSETRULE, CSSCharsetRule) \ | 291 V(CSSCHARSETRULE, CSSCharsetRule) \ |
| 287 V(CSSFONTFACERULE, CSSFontFaceRule) \ | 292 V(CSSFONTFACERULE, CSSFontFaceRule) \ |
| 288 V(CSSIMPORTRULE, CSSImportRule) \ | 293 V(CSSIMPORTRULE, CSSImportRule) \ |
| 289 V(CSSMEDIARULE, CSSMediaRule) \ | 294 V(CSSMEDIARULE, CSSMediaRule) \ |
| 290 V(CSSPAGERULE, CSSPageRule) \ | 295 V(CSSPAGERULE, CSSPageRule) \ |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 V(MIMETYPE, MimeType) \ | 329 V(MIMETYPE, MimeType) \ |
| 325 V(MIMETYPEARRAY, MimeTypeArray) \ | 330 V(MIMETYPEARRAY, MimeTypeArray) \ |
| 326 V(MOUSEEVENT, MouseEvent) \ | 331 V(MOUSEEVENT, MouseEvent) \ |
| 327 V(MUTATIONEVENT, MutationEvent) \ | 332 V(MUTATIONEVENT, MutationEvent) \ |
| 328 V(NAMEDNODEMAP, NamedNodeMap) \ | 333 V(NAMEDNODEMAP, NamedNodeMap) \ |
| 329 V(NAVIGATOR, Navigator) \ | 334 V(NAVIGATOR, Navigator) \ |
| 330 V(NODEFILTER, NodeFilter) \ | 335 V(NODEFILTER, NodeFilter) \ |
| 331 V(NODEITERATOR, NodeIterator) \ | 336 V(NODEITERATOR, NodeIterator) \ |
| 332 V(NODELIST, NodeList) \ | 337 V(NODELIST, NodeList) \ |
| 333 V(OVERFLOWEVENT, OverflowEvent) \ | 338 V(OVERFLOWEVENT, OverflowEvent) \ |
| 339 V(POSITIONERROR, PositionError) \ |
| 340 V(POSITIONERRORCALLBACK, PositionErrorCallback) \ |
| 334 V(PLUGIN, Plugin) \ | 341 V(PLUGIN, Plugin) \ |
| 335 V(PLUGINARRAY, PluginArray) \ | 342 V(PLUGINARRAY, PluginArray) \ |
| 336 V(PROGRESSEVENT, ProgressEvent) \ | 343 V(PROGRESSEVENT, ProgressEvent) \ |
| 337 V(RANGE, Range) \ | 344 V(RANGE, Range) \ |
| 338 V(RANGEEXCEPTION, RangeException) \ | 345 V(RANGEEXCEPTION, RangeException) \ |
| 339 V(RECT, Rect) \ | 346 V(RECT, Rect) \ |
| 340 V(RGBCOLOR, RGBColor) \ | 347 V(RGBCOLOR, RGBColor) \ |
| 341 V(SCREEN, Screen) \ | 348 V(SCREEN, Screen) \ |
| 342 V(STYLESHEET, StyleSheet) \ | 349 V(STYLESHEET, StyleSheet) \ |
| 343 V(STYLESHEETLIST, StyleSheetList) \ | 350 V(STYLESHEETLIST, StyleSheetList) \ |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 static FunctionTemplateFactory GetFactory(V8WrapperType type); | 524 static FunctionTemplateFactory GetFactory(V8WrapperType type); |
| 518 | 525 |
| 519 // Returns a field to be used as cache for the template for the given ty
pe | 526 // Returns a field to be used as cache for the template for the given ty
pe |
| 520 // FIXME: Convert to getCache after all the bindings are in one place. | 527 // FIXME: Convert to getCache after all the bindings are in one place. |
| 521 static v8::Persistent<v8::FunctionTemplate>* GetCache(V8WrapperType type
); | 528 static v8::Persistent<v8::FunctionTemplate>* GetCache(V8WrapperType type
); |
| 522 }; | 529 }; |
| 523 | 530 |
| 524 } | 531 } |
| 525 | 532 |
| 526 #endif // V8Index_h | 533 #endif // V8Index_h |
| OLD | NEW |