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

Side by Side Diff: content/test/data/web_ui_test_mojo_bindings.mojom

Issue 247013008: Add support for Float/Double types for JS Mojo bindings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tidy. Created 6 years, 8 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
« no previous file with comments | « content/browser/webui/web_ui_mojo_browsertest.cc ('k') | mojo/public/js/bindings/codec.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 module mojo { 1 module mojo {
2 2
3 struct EchoArgs { 3 struct EchoArgs {
sky 2014/04/23 22:37:05 Please document what this is for and what the valu
4 int64 si64; 4 int64 si64;
5 int32 si32; 5 int32 si32;
6 int16 si16; 6 int16 si16;
7 int8 si8; 7 int8 si8;
8 uint64 ui64; 8 uint64 ui64;
9 uint32 ui32; 9 uint32 ui32;
10 uint16 ui16; 10 uint16 ui16;
11 uint8 ui8; 11 uint8 ui8;
12 float float_val;
13 float float_inf;
14 float float_nan;
15 double double_val;
16 double double_inf;
17 double double_nan;
12 string name; 18 string name;
13 }; 19 };
14 20
15 [Peer=RendererTarget] 21 [Peer=RendererTarget]
16 interface BrowserTarget { 22 interface BrowserTarget {
17 PingResponse(); 23 PingResponse();
18 EchoResponse(EchoArgs arg1, EchoArgs arg2); 24 EchoResponse(EchoArgs arg1, EchoArgs arg2);
19 }; 25 };
20 26
21 [Peer=BrowserTarget] 27 [Peer=BrowserTarget]
22 interface RendererTarget { 28 interface RendererTarget {
23 Ping(); 29 Ping();
24 Echo(EchoArgs arg); 30 Echo(EchoArgs arg);
25 }; 31 };
26 32
27 } 33 }
OLDNEW
« no previous file with comments | « content/browser/webui/web_ui_mojo_browsertest.cc ('k') | mojo/public/js/bindings/codec.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698