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

Unified Diff: ios/web/webui/web_ui_mojo_inttest.mm

Issue 2946383002: Support new-style Mojo JS core API on IOS. (Closed)
Patch Set: . Created 3 years, 6 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 | « ios/web/webui/resources/web_ui_module_load_notifier.js ('k') | mojo/public/js/new_bindings/base.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/webui/web_ui_mojo_inttest.mm
diff --git a/ios/web/webui/web_ui_mojo_inttest.mm b/ios/web/webui/web_ui_mojo_inttest.mm
index 97916af543d08a09094c16c7d477a5742fa9ed32..0d240d8c8bd4d763fb038ed3927be5075d9dfdbb 100644
--- a/ios/web/webui/web_ui_mojo_inttest.mm
+++ b/ios/web/webui/web_ui_mojo_inttest.mm
@@ -8,6 +8,7 @@
#include "base/run_loop.h"
#include "base/threading/thread_task_runner_handle.h"
#import "ios/testing/wait_util.h"
+#include "ios/web/grit/ios_web_resources.h"
#import "ios/web/public/navigation_manager.h"
#include "ios/web/public/web_state/web_state_interface_provider.h"
#include "ios/web/public/web_ui_ios_data_source.h"
@@ -98,8 +99,8 @@ class TestUI : public WebUIIOSController {
web::WebUIIOSDataSource::Create(kTestWebUIURLHost);
source->AddResourcePath("mojo_test.js", IDR_MOJO_TEST_JS);
- source->AddResourcePath("ios/web/test/mojo_test.mojom",
- IDR_MOJO_TEST_MOJO_JS);
+ source->AddResourcePath("mojo_bindings.js", IDR_IOS_MOJO_BINDINGS_JS);
+ source->AddResourcePath("mojo_test.mojom.js", IDR_MOJO_TEST_MOJO_JS);
source->SetDefaultResource(IDR_MOJO_TEST_HTML);
web::WebState* web_state = web_ui->GetWebState();
« no previous file with comments | « ios/web/webui/resources/web_ui_module_load_notifier.js ('k') | mojo/public/js/new_bindings/base.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698