| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. | 3 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. 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 | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 attribute long width; | 31 attribute long width; |
| 32 attribute long height; | 32 attribute long height; |
| 33 | 33 |
| 34 [Custom] DOMString toDataURL(in [TreatNullAs=NullString, TreatUndefinedAs=Nu
llString,Optional=DefaultIsUndefined] DOMString type) | 34 [Custom] DOMString toDataURL(in [TreatNullAs=NullString, TreatUndefinedAs=Nu
llString,Optional=DefaultIsUndefined] DOMString type) |
| 35 raises(DOMException); | 35 raises(DOMException); |
| 36 | 36 |
| 37 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP | 37 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP |
| 38 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C | 38 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C |
| 39 // The custom binding is needed to handle context creation attributes. | 39 // The custom binding is needed to handle context creation attributes. |
| 40 [Custom] DOMObject getContext(in [Optional=DefaultIsUndefined] DOMString con
textId); | 40 [Custom] any getContext(in [Optional=DefaultIsUndefined] DOMString contextId
); |
| 41 #endif | 41 #endif |
| 42 #endif | 42 #endif |
| 43 | 43 |
| 44 }; | 44 }; |
| 45 | 45 |
| OLD | NEW |