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

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

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 unified diff | Download patch
« no previous file with comments | « components/html_viewer/DEPS ('k') | components/html_viewer/layout_test_html_viewer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_HTML_VIEWER_H_ 5 #ifndef COMPONENTS_HTML_VIEWER_LAYOUT_TEST_HTML_VIEWER_H_
6 #define COMPONENTS_HTML_VIEWER_LAYOUT_TEST_HTML_VIEWER_H_ 6 #define COMPONENTS_HTML_VIEWER_LAYOUT_TEST_HTML_VIEWER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "components/html_viewer/html_viewer.h" 10 #include "components/html_viewer/html_viewer.h"
11 #include "components/html_viewer/web_test_delegate_impl.h" 11 #include "components/html_viewer/web_test_delegate_impl.h"
12 12
13 namespace test_runner { 13 namespace test_runner {
14 class WebTestInterfaces; 14 class WebTestInterfaces;
15 } 15 }
16 16
17 namespace html_viewer { 17 namespace html_viewer {
18 18
19 class LayoutTestHTMLViewer : public HTMLViewer { 19 class LayoutTestHTMLViewer : public HTMLViewer {
20 public: 20 public:
21 LayoutTestHTMLViewer(); 21 LayoutTestHTMLViewer();
22 ~LayoutTestHTMLViewer() override; 22 ~LayoutTestHTMLViewer() override;
23 23
24 private: 24 private:
25 void TestFinished();
26
25 // Overridden from ApplicationDelegate: 27 // Overridden from ApplicationDelegate:
26 void Initialize(mojo::ApplicationImpl* app) override; 28 void Initialize(mojo::ApplicationImpl* app) override;
27 29
28 // Overridden from InterfaceFactory<ContentHandler> 30 // Overridden from InterfaceFactory<ContentHandler>
29 void Create(mojo::ApplicationConnection* connection, 31 void Create(mojo::ApplicationConnection* connection,
30 mojo::InterfaceRequest<mojo::ContentHandler> request) override; 32 mojo::InterfaceRequest<mojo::ContentHandler> request) override;
31 33
32 scoped_ptr<test_runner::WebTestInterfaces> test_interfaces_; 34 scoped_ptr<test_runner::WebTestInterfaces> test_interfaces_;
33 WebTestDelegateImpl test_delegate_; 35 WebTestDelegateImpl test_delegate_;
34 36
35 DISALLOW_COPY_AND_ASSIGN(LayoutTestHTMLViewer); 37 DISALLOW_COPY_AND_ASSIGN(LayoutTestHTMLViewer);
36 }; 38 };
37 39
38 } // namespace html_viewer 40 } // namespace html_viewer
39 41
40 #endif // COMPONENTS_HTML_VIEWER_LAYOUT_TEST_HTML_VIEWER_H_ 42 #endif // COMPONENTS_HTML_VIEWER_LAYOUT_TEST_HTML_VIEWER_H_
OLDNEW
« no previous file with comments | « components/html_viewer/DEPS ('k') | components/html_viewer/layout_test_html_viewer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698