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

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

Issue 1675083002: Rename ApplicationDelegate to ShellClient (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 38
39 void LayoutTestHTMLViewer::TestFinished() { 39 void LayoutTestHTMLViewer::TestFinished() {
40 test_interfaces_->ResetAll(); 40 test_interfaces_->ResetAll();
41 41
42 web_view::LayoutTestRunnerPtr test_runner_ptr; 42 web_view::LayoutTestRunnerPtr test_runner_ptr;
43 shell()->ConnectToService("mojo:web_view_test_runner", &test_runner_ptr); 43 shell()->ConnectToService("mojo:web_view_test_runner", &test_runner_ptr);
44 test_runner_ptr->TestFinished(); 44 test_runner_ptr->TestFinished();
45 } 45 }
46 46
47 void LayoutTestHTMLViewer::Create( 47 void LayoutTestHTMLViewer::Create(
48 mojo::ApplicationConnection* connection, 48 mojo::Connection* connection,
49 mojo::InterfaceRequest<mojo::shell::mojom::ContentHandler> request) { 49 mojo::InterfaceRequest<mojo::shell::mojom::ContentHandler> request) {
50 new LayoutTestContentHandlerImpl(global_state(), shell(), std::move(request), 50 new LayoutTestContentHandlerImpl(global_state(), shell(), std::move(request),
51 test_interfaces_.get(), &test_delegate_); 51 test_interfaces_.get(), &test_delegate_);
52 } 52 }
53 53
54 } // namespace html_viewer 54 } // namespace html_viewer
OLDNEW
« no previous file with comments | « components/html_viewer/layout_test_html_viewer.h ('k') | components/html_viewer/stats_collection_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698