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

Unified Diff: components/web_view/frame_connection.cc

Issue 1308973005: html_viewer/web_view: An app for running layout-tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot/merge Created 5 years, 3 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 | « components/web_view/BUILD.gn ('k') | components/web_view/test_runner/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/frame_connection.cc
diff --git a/components/web_view/frame_connection.cc b/components/web_view/frame_connection.cc
index 9d91ea527a5329eafae731c685c2209f87b074e3..7dadb5d4b71cea0a36400bcced533c84caeb7d5c 100644
--- a/components/web_view/frame_connection.cc
+++ b/components/web_view/frame_connection.cc
@@ -11,6 +11,7 @@
#include "components/view_manager/public/interfaces/gpu.mojom.h"
#include "components/view_manager/public/interfaces/view_tree_host.mojom.h"
#include "components/web_view/frame_tree.h"
+#include "components/web_view/test_runner/public/interfaces/layout_test_runner.mojom.h"
#include "mojo/application/public/cpp/application_connection.h"
#include "mojo/application/public/cpp/application_impl.h"
#include "mojo/services/network/public/interfaces/cookie_store.mojom.h"
@@ -94,6 +95,11 @@ void FrameConnection::Init(mojo::ApplicationImpl* app,
view_manager_interfaces.push_back(mojo::ViewTreeHostFactory::Name_);
filter->filter.insert("mojo:view_manager", view_manager_interfaces.Pass());
+ mojo::Array<mojo::String> test_runner_interfaces;
+ test_runner_interfaces.push_back(LayoutTestRunner::Name_);
+ filter->filter.insert("mojo:web_view_test_runner",
+ test_runner_interfaces.Pass());
+
#if defined(OS_LINUX) && !defined(OS_ANDROID)
mojo::Array<mojo::String> font_service_interfaces;
font_service_interfaces.push_back(font_service::FontService::Name_);
« no previous file with comments | « components/web_view/BUILD.gn ('k') | components/web_view/test_runner/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698