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

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

Issue 1371773003: mandoline: Add find in page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Further patch cleanup; use a WeakPtrFactory in FindController. Created 5 years, 2 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/mus/public/cpp/view_tree_delegate.h" 10 #include "components/mus/public/cpp/view_tree_delegate.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 void OnEmbed(mus::View* root) override; 48 void OnEmbed(mus::View* root) override;
49 void OnConnectionLost(mus::ViewTreeConnection* connection) override; 49 void OnConnectionLost(mus::ViewTreeConnection* connection) override;
50 50
51 // mojom::WebViewClient: 51 // mojom::WebViewClient:
52 void TopLevelNavigateRequest(mojo::URLRequestPtr request) override; 52 void TopLevelNavigateRequest(mojo::URLRequestPtr request) override;
53 void TopLevelNavigationStarted(const mojo::String& url) override; 53 void TopLevelNavigationStarted(const mojo::String& url) override;
54 void LoadingStateChanged(bool is_loading, double progress) override; 54 void LoadingStateChanged(bool is_loading, double progress) override;
55 void BackForwardChanged(mojom::ButtonState back_button, 55 void BackForwardChanged(mojom::ButtonState back_button,
56 mojom::ButtonState forward_button) override; 56 mojom::ButtonState forward_button) override;
57 void TitleChanged(const mojo::String& title) override; 57 void TitleChanged(const mojo::String& title) override;
58 void ReportFindInPageMatchCount(int32_t request_id,
59 int32_t count,
60 bool final_update) override {}
61 void ReportFindInPageSelection(int32_t request_id,
62 int32_t active_match_ordinal) override {}
58 63
59 // LayoutTestRunner: 64 // LayoutTestRunner:
60 void TestFinished() override; 65 void TestFinished() override;
61 66
62 // mojo::InterfaceFactory<LayoutTestRunner>: 67 // mojo::InterfaceFactory<LayoutTestRunner>:
63 void Create(mojo::ApplicationConnection* connection, 68 void Create(mojo::ApplicationConnection* connection,
64 mojo::InterfaceRequest<LayoutTestRunner> request) override; 69 mojo::InterfaceRequest<LayoutTestRunner> request) override;
65 70
66 mojo::ApplicationImpl* app_; 71 mojo::ApplicationImpl* app_;
67 mojo::ViewTreeHostPtr host_; 72 mojo::ViewTreeHostPtr host_;
68 73
69 mus::View* root_; 74 mus::View* root_;
70 mus::View* content_; 75 mus::View* content_;
71 scoped_ptr<WebView> web_view_; 76 scoped_ptr<WebView> web_view_;
72 77
73 scoped_ptr<test_runner::TestInfoExtractor> test_extractor_; 78 scoped_ptr<test_runner::TestInfoExtractor> test_extractor_;
74 79
75 mojo::WeakBindingSet<LayoutTestRunner> layout_test_runner_; 80 mojo::WeakBindingSet<LayoutTestRunner> layout_test_runner_;
76 81
77 DISALLOW_COPY_AND_ASSIGN(TestRunnerApplicationDelegate); 82 DISALLOW_COPY_AND_ASSIGN(TestRunnerApplicationDelegate);
78 }; 83 };
79 84
80 } // namespace web_view 85 } // namespace web_view
81 86
82 #endif // COMPONENTS_WEB_VIEW__TEST_RUNNER_TEST_RUNNER_APPLICATION_DELEGATE_H_ 87 #endif // COMPONENTS_WEB_VIEW__TEST_RUNNER_TEST_RUNNER_APPLICATION_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698