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

Unified 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: Fix JS busted when I alphebetized dependency list. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/data/web_ui_mojo.js ('k') | mojo/apps/js/test/js_to_cpp.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/web_ui_test_mojo_bindings.mojom
diff --git a/content/test/data/web_ui_test_mojo_bindings.mojom b/content/test/data/web_ui_test_mojo_bindings.mojom
index 9ffd38529a320397c935a60339094bc5459d1f67..67d5983fee4a84306e48cac28c79fffe2463b519 100644
--- a/content/test/data/web_ui_test_mojo_bindings.mojom
+++ b/content/test/data/web_ui_test_mojo_bindings.mojom
@@ -1,36 +1,13 @@
module mojo {
-// This struct encompasses all of the basic types, so that they
-// may be sent from C++ to JS and back for validation.
-struct EchoArgs {
- int64 si64;
- int32 si32;
- int16 si16;
- int8 si8;
- uint64 ui64;
- uint32 ui32;
- uint16 ui16;
- uint8 ui8;
- float float_val;
- float float_inf;
- float float_nan;
- double double_val;
- double double_inf;
- double double_nan;
- string name;
- string[] string_array;
-};
-
[Peer=RendererTarget]
interface BrowserTarget {
PingResponse();
- EchoResponse(EchoArgs arg1, EchoArgs arg2);
};
[Peer=BrowserTarget]
interface RendererTarget {
Ping();
- Echo(EchoArgs arg);
};
}
« no previous file with comments | « content/test/data/web_ui_mojo.js ('k') | mojo/apps/js/test/js_to_cpp.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698