OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 function moduleDidLoad() { | 5 function moduleDidLoad() { |
6 common.hideModule(); | 6 common.hideModule(); |
7 } | 7 } |
8 | 8 |
9 // Called by the common.js module. | 9 // Called by the common.js module. |
10 function domContentLoaded(name, tc, config, width, height) { | 10 function domContentLoaded(name, tc, config, width, height) { |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 var result_func = window[func_result_name]; | 173 var result_func = window[func_result_name]; |
174 | 174 |
175 if (!result_func) { | 175 if (!result_func) { |
176 logMessage('Error: Bad message received from NaCl module.'); | 176 logMessage('Error: Bad message received from NaCl module.'); |
177 return; | 177 return; |
178 } | 178 } |
179 | 179 |
180 result_func.apply(null, params.slice(1)); | 180 result_func.apply(null, params.slice(1)); |
181 } | 181 } |
182 } | 182 } |
OLD | NEW |