| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 case CSSRule::FONT_FACE_RULE: | 67 case CSSRule::FONT_FACE_RULE: |
| 68 return wrap(static_cast<CSSFontFaceRule*>(impl), creationContext, isolat
e); | 68 return wrap(static_cast<CSSFontFaceRule*>(impl), creationContext, isolat
e); |
| 69 case CSSRule::PAGE_RULE: | 69 case CSSRule::PAGE_RULE: |
| 70 return wrap(static_cast<CSSPageRule*>(impl), creationContext, isolate); | 70 return wrap(static_cast<CSSPageRule*>(impl), creationContext, isolate); |
| 71 case CSSRule::WEBKIT_KEYFRAME_RULE: | 71 case CSSRule::WEBKIT_KEYFRAME_RULE: |
| 72 return wrap(static_cast<CSSKeyframeRule*>(impl), creationContext, isolat
e); | 72 return wrap(static_cast<CSSKeyframeRule*>(impl), creationContext, isolat
e); |
| 73 case CSSRule::WEBKIT_KEYFRAMES_RULE: | 73 case CSSRule::WEBKIT_KEYFRAMES_RULE: |
| 74 return wrap(static_cast<CSSKeyframesRule*>(impl), creationContext, isola
te); | 74 return wrap(static_cast<CSSKeyframesRule*>(impl), creationContext, isola
te); |
| 75 case CSSRule::SUPPORTS_RULE: | 75 case CSSRule::SUPPORTS_RULE: |
| 76 return wrap(static_cast<CSSSupportsRule*>(impl), creationContext, isolat
e); | 76 return wrap(static_cast<CSSSupportsRule*>(impl), creationContext, isolat
e); |
| 77 case CSSRule::WEBKIT_VIEWPORT_RULE: | 77 case CSSRule::VIEWPORT_RULE: |
| 78 return wrap(static_cast<CSSViewportRule*>(impl), creationContext, isolat
e); | 78 return wrap(static_cast<CSSViewportRule*>(impl), creationContext, isolat
e); |
| 79 case CSSRule::WEBKIT_REGION_RULE: | 79 case CSSRule::WEBKIT_REGION_RULE: |
| 80 return wrap(static_cast<CSSRegionRule*>(impl), creationContext, isolate)
; | 80 return wrap(static_cast<CSSRegionRule*>(impl), creationContext, isolate)
; |
| 81 case CSSRule::HOST_RULE: | 81 case CSSRule::HOST_RULE: |
| 82 return wrap(static_cast<CSSHostRule*>(impl), creationContext, isolate); | 82 return wrap(static_cast<CSSHostRule*>(impl), creationContext, isolate); |
| 83 case CSSRule::WEBKIT_FILTER_RULE: | 83 case CSSRule::WEBKIT_FILTER_RULE: |
| 84 return wrap(static_cast<CSSFilterRule*>(impl), creationContext, isolate)
; | 84 return wrap(static_cast<CSSFilterRule*>(impl), creationContext, isolate)
; |
| 85 } | 85 } |
| 86 return V8CSSRule::createWrapper(impl, creationContext, isolate); | 86 return V8CSSRule::createWrapper(impl, creationContext, isolate); |
| 87 } | 87 } |
| 88 | 88 |
| 89 } // namespace WebCore | 89 } // namespace WebCore |
| OLD | NEW |