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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io_test/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 // Called by the common.js module. 4 // Called by the common.js module.
5 function moduleDidLoad() { 5 function moduleDidLoad() {
6 // The module is not hidden by default so we can easily see if the plugin 6 // The module is not hidden by default so we can easily see if the plugin
7 // failed to load. 7 // failed to load.
8 common.hideModule(); 8 common.hideModule();
9 common.naclModule.postMessage('RunGTest'); 9 common.naclModule.postMessage('RunGTest');
10 } 10 }
11 11
12 function handleMessage(event) { 12 function handleMessage(event) {
13 var logEl = document.getElementById('log'); 13 var logEl = document.getElementById('log');
14 logEl.innerHTML += event.data + '<br>'; 14 logEl.innerHTML += event.data + '<br>';
15 } 15 }
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io_test/example.dsc ('k') | native_client_sdk/src/libraries/nacl_io_test/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698