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

Side by Side Diff: mojo/public/bindings/js/codec.js

Issue 189453003: Moves around mojo js bindings code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 define("mojo/apps/js/bindings/codec", function() { 5 define("mojo/public/bindings/js/codec", function() {
6 6
7 // Memory ------------------------------------------------------------------- 7 // Memory -------------------------------------------------------------------
8 8
9 function store8(memory, pointer, val) { 9 function store8(memory, pointer, val) {
10 memory[pointer] = val; 10 memory[pointer] = val;
11 } 11 }
12 12
13 function store16(memory, pointer, val) { 13 function store16(memory, pointer, val) {
14 memory[pointer + 0] = val >> 0; 14 memory[pointer + 0] = val >> 0;
15 memory[pointer + 1] = val >> 8; 15 memory[pointer + 1] = val >> 8;
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 exports.kMessageHeaderSize = kMessageHeaderSize; 450 exports.kMessageHeaderSize = kMessageHeaderSize;
451 exports.Uint8 = Uint8; 451 exports.Uint8 = Uint8;
452 exports.Uint16 = Uint16; 452 exports.Uint16 = Uint16;
453 exports.Uint32 = Uint32; 453 exports.Uint32 = Uint32;
454 exports.Uint64 = Uint64; 454 exports.Uint64 = Uint64;
455 exports.PointerTo = PointerTo; 455 exports.PointerTo = PointerTo;
456 exports.ArrayOf = ArrayOf; 456 exports.ArrayOf = ArrayOf;
457 exports.Handle = Handle; 457 exports.Handle = Handle;
458 return exports; 458 return exports;
459 }); 459 });
OLDNEW
« no previous file with comments | « mojo/public/bindings/generators/js_templates/module.js.tmpl ('k') | mojo/public/bindings/js/connector.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698