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

Side by Side Diff: components/html_viewer/layout_test_content_handler_impl.h

Issue 1675153002: ApplicationImpl->ShellConnection, mojom::Application->mojom::ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ci2
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 #ifndef COMPONENTS_HTML_VIEWER_LAYOUT_TEST_CONTENT_HANDLER_IMPL_H_ 5 #ifndef COMPONENTS_HTML_VIEWER_LAYOUT_TEST_CONTENT_HANDLER_IMPL_H_
6 #define COMPONENTS_HTML_VIEWER_LAYOUT_TEST_CONTENT_HANDLER_IMPL_H_ 6 #define COMPONENTS_HTML_VIEWER_LAYOUT_TEST_CONTENT_HANDLER_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/html_viewer/content_handler_impl.h" 9 #include "components/html_viewer/content_handler_impl.h"
10 #include "components/html_viewer/html_factory.h" 10 #include "components/html_viewer/html_factory.h"
(...skipping 21 matching lines...) Expand all
32 WebTestDelegateImpl* test_delegate); 32 WebTestDelegateImpl* test_delegate);
33 ~LayoutTestContentHandlerImpl() override; 33 ~LayoutTestContentHandlerImpl() override;
34 34
35 private: 35 private:
36 using WebWidgetProxy = 36 using WebWidgetProxy =
37 test_runner::WebTestProxy<HTMLWidgetRootLocal, 37 test_runner::WebTestProxy<HTMLWidgetRootLocal,
38 HTMLWidgetRootLocal::CreateParams*>; 38 HTMLWidgetRootLocal::CreateParams*>;
39 39
40 // ContentHandler: 40 // ContentHandler:
41 void StartApplication( 41 void StartApplication(
42 mojo::ApplicationRequest request, 42 mojo::ShellClientRequest request,
43 mojo::URLResponsePtr response, 43 mojo::URLResponsePtr response,
44 const mojo::Callback<void()>& destruct_callback) override; 44 const mojo::Callback<void()>& destruct_callback) override;
45 45
46 // HTMLFactory 46 // HTMLFactory
47 HTMLFrame* CreateHTMLFrame(HTMLFrame::CreateParams* params) override; 47 HTMLFrame* CreateHTMLFrame(HTMLFrame::CreateParams* params) override;
48 HTMLWidgetRootLocal* CreateHTMLWidgetRootLocal( 48 HTMLWidgetRootLocal* CreateHTMLWidgetRootLocal(
49 HTMLWidgetRootLocal::CreateParams* params) override; 49 HTMLWidgetRootLocal::CreateParams* params) override;
50 50
51 test_runner::WebTestInterfaces* test_interfaces_; 51 test_runner::WebTestInterfaces* test_interfaces_;
52 WebTestDelegateImpl* test_delegate_; 52 WebTestDelegateImpl* test_delegate_;
53 WebWidgetProxy* web_widget_proxy_; 53 WebWidgetProxy* web_widget_proxy_;
54 scoped_ptr<mojo::AppRefCount> app_refcount_; 54 scoped_ptr<mojo::AppRefCount> app_refcount_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(LayoutTestContentHandlerImpl); 56 DISALLOW_COPY_AND_ASSIGN(LayoutTestContentHandlerImpl);
57 }; 57 };
58 58
59 } // namespace html_viewer 59 } // namespace html_viewer
60 60
61 #endif // COMPONENTS_HTML_VIEWER_LAYOUT_TEST_CONTENT_HANDLER_IMPL_H_ 61 #endif // COMPONENTS_HTML_VIEWER_LAYOUT_TEST_CONTENT_HANDLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698