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

Side by Side Diff: mojo/public/js/core.js

Issue 795593004: Update mojo sdk to rev cc531b32182099a5a034a99daff35ed5d38a61c8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More workarounds for MSVC Created 5 years, 11 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
« no previous file with comments | « mojo/public/js/connector.js ('k') | mojo/public/js/core_unittests.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // Module "mojo/public/js/core" 5 // Module "mojo/public/js/core"
6 // 6 //
7 // Note: This file is for documentation purposes only. The code here is not 7 // Note: This file is for documentation purposes only. The code here is not
8 // actually executed. The real module is implemented natively in Mojo. 8 // actually executed. The real module is implemented natively in Mojo.
9 // 9 //
10 // This module provides the JavaScript bindings for mojo/public/c/system/core.h. 10 // This module provides the JavaScript bindings for mojo/public/c/system/core.h.
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 * return codes. 222 * return codes.
223 * 223 *
224 * @param {MojoHandle} handle A consumerHandle returned by createDataPipe. 224 * @param {MojoHandle} handle A consumerHandle returned by createDataPipe.
225 * @param {MojoReadDataFlags} flags Flags. 225 * @param {MojoReadDataFlags} flags Flags.
226 * @return {object} An object of the form { 226 * @return {object} An object of the form {
227 * result, // |RESULT_OK| on success, error code otherwise. 227 * result, // |RESULT_OK| on success, error code otherwise.
228 * buffer, // An ArrayBufferView of the data read (only on success). 228 * buffer, // An ArrayBufferView of the data read (only on success).
229 * } 229 * }
230 */ 230 */
231 function readData(handle, flags) { [native code] } 231 function readData(handle, flags) { [native code] }
232
233 /**
234 * True if the argument is a message or data pipe handle.
235 *
236 * @param {value} an arbitrary JS value.
237 * @return true or false
238 */
239 function isHandle(value) { [native code] }
OLDNEW
« no previous file with comments | « mojo/public/js/connector.js ('k') | mojo/public/js/core_unittests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698