// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_HTML_VIEWER_LAYOUT_TEST_HTML_VIEWER_H_ #define COMPONENTS_HTML_VIEWER_LAYOUT_TEST_HTML_VIEWER_H_ #include "base/macros.h" #include "base/memory/scoped_ptr.h" #include "components/html_viewer/html_viewer.h" #include "components/html_viewer/web_test_delegate_impl.h" namespace test_runner { class WebTestInterfaces; } namespace html_viewer { class LayoutTestHTMLViewer : public HTMLViewer { public: LayoutTestHTMLViewer(); ~LayoutTestHTMLViewer() override; private: // Overridden from ApplicationDelegate: void Initialize(mojo::ApplicationImpl* app) override; // Overridden from InterfaceFactory void Create(mojo::ApplicationConnection* connection, mojo::InterfaceRequest request) override; scoped_ptr test_interfaces_; WebTestDelegateImpl test_delegate_; DISALLOW_COPY_AND_ASSIGN(LayoutTestHTMLViewer); }; } // namespace html_viewer #endif // COMPONENTS_HTML_VIEWER_LAYOUT_TEST_HTML_VIEWER_H_