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

Side by Side Diff: components/web_view/test_runner/test_runner_application_delegate.h

Issue 1326443006: mandoline: Add back/forward support and UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits and such. 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
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_WEB_VIEW__TEST_RUNNER_TEST_RUNNER_APPLICATION_DELEGATE_H_ 5 #ifndef COMPONENTS_WEB_VIEW__TEST_RUNNER_TEST_RUNNER_APPLICATION_DELEGATE_H_
6 #define COMPONENTS_WEB_VIEW__TEST_RUNNER_TEST_RUNNER_APPLICATION_DELEGATE_H_ 6 #define COMPONENTS_WEB_VIEW__TEST_RUNNER_TEST_RUNNER_APPLICATION_DELEGATE_H_
7 7
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "components/test_runner/test_info_extractor.h" 10 #include "components/test_runner/test_info_extractor.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 mojo::ApplicationConnection* connection) override; 45 mojo::ApplicationConnection* connection) override;
46 46
47 // mojo::ViewTreeDelegate: 47 // mojo::ViewTreeDelegate:
48 void OnEmbed(mojo::View* root) override; 48 void OnEmbed(mojo::View* root) override;
49 void OnConnectionLost(mojo::ViewTreeConnection* connection) override; 49 void OnConnectionLost(mojo::ViewTreeConnection* connection) override;
50 50
51 // mojom::WebViewClient: 51 // mojom::WebViewClient:
52 void TopLevelNavigate(mojo::URLRequestPtr request) override; 52 void TopLevelNavigate(mojo::URLRequestPtr request) override;
53 void LoadingStateChanged(bool is_loading) override; 53 void LoadingStateChanged(bool is_loading) override;
54 void ProgressChanged(double progress) override; 54 void ProgressChanged(double progress) override;
55 void BackForwardChanged(mojom::ButtonState back_button,
56 mojom::ButtonState forward_button) override;
55 void TitleChanged(const mojo::String& title) override; 57 void TitleChanged(const mojo::String& title) override;
56 58
57 // LayoutTestRunner: 59 // LayoutTestRunner:
58 void TestFinished() override; 60 void TestFinished() override;
59 61
60 // mojo::InterfaceFactory<LayoutTestRunner>: 62 // mojo::InterfaceFactory<LayoutTestRunner>:
61 void Create(mojo::ApplicationConnection* connection, 63 void Create(mojo::ApplicationConnection* connection,
62 mojo::InterfaceRequest<LayoutTestRunner> request) override; 64 mojo::InterfaceRequest<LayoutTestRunner> request) override;
63 65
64 mojo::ApplicationImpl* app_; 66 mojo::ApplicationImpl* app_;
65 mojo::ViewTreeHostPtr host_; 67 mojo::ViewTreeHostPtr host_;
66 68
67 mojo::View* root_; 69 mojo::View* root_;
68 mojo::View* content_; 70 mojo::View* content_;
69 scoped_ptr<WebView> web_view_; 71 scoped_ptr<WebView> web_view_;
70 72
71 scoped_ptr<test_runner::TestInfoExtractor> test_extractor_; 73 scoped_ptr<test_runner::TestInfoExtractor> test_extractor_;
72 74
73 mojo::WeakBindingSet<LayoutTestRunner> layout_test_runner_; 75 mojo::WeakBindingSet<LayoutTestRunner> layout_test_runner_;
74 76
75 DISALLOW_COPY_AND_ASSIGN(TestRunnerApplicationDelegate); 77 DISALLOW_COPY_AND_ASSIGN(TestRunnerApplicationDelegate);
76 }; 78 };
77 79
78 } // namespace web_view 80 } // namespace web_view
79 81
80 #endif // COMPONENTS_WEB_VIEW__TEST_RUNNER_TEST_RUNNER_APPLICATION_DELEGATE_H_ 82 #endif // COMPONENTS_WEB_VIEW__TEST_RUNNER_TEST_RUNNER_APPLICATION_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698