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

Side by Side Diff: components/html_viewer/layout_test_html_viewer.cc

Issue 1679573002: Move shell interfaces into the shell.mojom namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
Patch Set: . Created 4 years, 10 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/html_viewer/layout_test_html_viewer.h" 5 #include "components/html_viewer/layout_test_html_viewer.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "components/html_viewer/global_state.h" 9 #include "components/html_viewer/global_state.h"
10 #include "components/html_viewer/layout_test_content_handler_impl.h" 10 #include "components/html_viewer/layout_test_content_handler_impl.h"
(...skipping 27 matching lines...) Expand all
38 void LayoutTestHTMLViewer::TestFinished() { 38 void LayoutTestHTMLViewer::TestFinished() {
39 test_interfaces_->ResetAll(); 39 test_interfaces_->ResetAll();
40 40
41 web_view::LayoutTestRunnerPtr test_runner_ptr; 41 web_view::LayoutTestRunnerPtr test_runner_ptr;
42 app()->ConnectToService("mojo:web_view_test_runner", &test_runner_ptr); 42 app()->ConnectToService("mojo:web_view_test_runner", &test_runner_ptr);
43 test_runner_ptr->TestFinished(); 43 test_runner_ptr->TestFinished();
44 } 44 }
45 45
46 void LayoutTestHTMLViewer::Create( 46 void LayoutTestHTMLViewer::Create(
47 mojo::ApplicationConnection* connection, 47 mojo::ApplicationConnection* connection,
48 mojo::InterfaceRequest<mojo::ContentHandler> request) { 48 mojo::InterfaceRequest<mojo::shell::mojom::ContentHandler> request) {
49 new LayoutTestContentHandlerImpl(global_state(), app(), std::move(request), 49 new LayoutTestContentHandlerImpl(global_state(), app(), std::move(request),
50 test_interfaces_.get(), &test_delegate_); 50 test_interfaces_.get(), &test_delegate_);
51 } 51 }
52 52
53 } // namespace html_viewer 53 } // namespace html_viewer
OLDNEW
« no previous file with comments | « components/html_viewer/layout_test_html_viewer.h ('k') | components/html_viewer/media_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698