| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 3151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3162 | 3162 |
| 3163 /** | 3163 /** |
| 3164 * @const | 3164 * @const |
| 3165 * @type {!Object.<string, boolean>} | 3165 * @type {!Object.<string, boolean>} |
| 3166 */ | 3166 */ |
| 3167 CanvasRenderingContext2DResource.DrawingMethods = TypeUtils.createPrefixedProper
tyNamesSet([ | 3167 CanvasRenderingContext2DResource.DrawingMethods = TypeUtils.createPrefixedProper
tyNamesSet([ |
| 3168 "clearRect", | 3168 "clearRect", |
| 3169 "drawImage", | 3169 "drawImage", |
| 3170 "drawImageFromRect", | 3170 "drawImageFromRect", |
| 3171 "drawCustomFocusRing", | 3171 "drawCustomFocusRing", |
| 3172 "drawSystemFocusRing", | 3172 "drawFocusIfNeeded", |
| 3173 "fill", | 3173 "fill", |
| 3174 "fillRect", | 3174 "fillRect", |
| 3175 "fillText", | 3175 "fillText", |
| 3176 "putImageData", | 3176 "putImageData", |
| 3177 "putImageDataHD", | 3177 "putImageDataHD", |
| 3178 "stroke", | 3178 "stroke", |
| 3179 "strokeRect", | 3179 "strokeRect", |
| 3180 "strokeText" | 3180 "strokeText" |
| 3181 ]); | 3181 ]); |
| 3182 | 3182 |
| (...skipping 1395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4578 _parseStringId: function(stringId) | 4578 _parseStringId: function(stringId) |
| 4579 { | 4579 { |
| 4580 return InjectedScriptHost.evaluate("(" + stringId + ")"); | 4580 return InjectedScriptHost.evaluate("(" + stringId + ")"); |
| 4581 } | 4581 } |
| 4582 } | 4582 } |
| 4583 | 4583 |
| 4584 var injectedCanvasModule = new InjectedCanvasModule(); | 4584 var injectedCanvasModule = new InjectedCanvasModule(); |
| 4585 return injectedCanvasModule; | 4585 return injectedCanvasModule; |
| 4586 | 4586 |
| 4587 }) | 4587 }) |
| OLD | NEW |