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

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

Issue 268593002: Move existing Mojo JS <--> CPP tests out of webui test harness. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unused header include. Created 6 years, 7 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 module mojo { 1 module mojo {
2 2
3 // This struct encompasses all of the basic types, so that they
4 // may be sent from C++ to JS and back for validation.
5 struct EchoArgs {
6 int64 si64;
7 int32 si32;
8 int16 si16;
9 int8 si8;
10 uint64 ui64;
11 uint32 ui32;
12 uint16 ui16;
13 uint8 ui8;
14 float float_val;
15 float float_inf;
16 float float_nan;
17 double double_val;
18 double double_inf;
19 double double_nan;
20 string name;
21 string[] string_array;
22 };
23
24 [Peer=RendererTarget] 3 [Peer=RendererTarget]
25 interface BrowserTarget { 4 interface BrowserTarget {
26 PingResponse(); 5 PingResponse();
27 EchoResponse(EchoArgs arg1, EchoArgs arg2);
28 }; 6 };
29 7
30 [Peer=BrowserTarget] 8 [Peer=BrowserTarget]
31 interface RendererTarget { 9 interface RendererTarget {
32 Ping(); 10 Ping();
33 Echo(EchoArgs arg);
34 }; 11 };
35 12
36 } 13 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698