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 3109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3120 "shadowOffsetX", | 3120 "shadowOffsetX", |
3121 "shadowOffsetY", | 3121 "shadowOffsetY", |
3122 "shadowBlur", | 3122 "shadowBlur", |
3123 "shadowColor", | 3123 "shadowColor", |
3124 "globalCompositeOperation", | 3124 "globalCompositeOperation", |
3125 "font", | 3125 "font", |
3126 "textAlign", | 3126 "textAlign", |
3127 "textBaseline", | 3127 "textBaseline", |
3128 "lineDashOffset", | 3128 "lineDashOffset", |
3129 "imageSmoothingEnabled", | 3129 "imageSmoothingEnabled", |
3130 "webkitImageSmoothingEnabled", | |
3131 "webkitLineDash", | 3130 "webkitLineDash", |
3132 "webkitLineDashOffset" | 3131 "webkitLineDashOffset" |
3133 ]; | 3132 ]; |
3134 | 3133 |
3135 /** | 3134 /** |
3136 * @const | 3135 * @const |
3137 * @type {!Array.<string>} | 3136 * @type {!Array.<string>} |
3138 */ | 3137 */ |
3139 CanvasRenderingContext2DResource.PathMethods = [ | 3138 CanvasRenderingContext2DResource.PathMethods = [ |
3140 "beginPath", | 3139 "beginPath", |
(...skipping 1437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4578 _parseStringId: function(stringId) | 4577 _parseStringId: function(stringId) |
4579 { | 4578 { |
4580 return InjectedScriptHost.evaluate("(" + stringId + ")"); | 4579 return InjectedScriptHost.evaluate("(" + stringId + ")"); |
4581 } | 4580 } |
4582 } | 4581 } |
4583 | 4582 |
4584 var injectedCanvasModule = new InjectedCanvasModule(); | 4583 var injectedCanvasModule = new InjectedCanvasModule(); |
4585 return injectedCanvasModule; | 4584 return injectedCanvasModule; |
4586 | 4585 |
4587 }) | 4586 }) |
OLD | NEW |