Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: native_client_sdk/src/examples/hello_nacl_io/example.js

Issue 12194030: Rename mount (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix whitespace Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « native_client_sdk/src/examples/hello_nacl_io/example.dsc ('k') | native_client_sdk/src/examples/hello_nacl_io/handlers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698