OLD | NEW |
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_WEB_TEST_DELEGATE_IMPL_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ |
6 #define COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ | 6 #define COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "components/test_runner/test_preferences.h" | 9 #include "components/test_runner/test_preferences.h" |
10 #include "components/test_runner/web_test_delegate.h" | 10 #include "components/test_runner/web_test_delegate.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 cc::SharedBitmapManager* GetSharedBitmapManager() override; | 105 cc::SharedBitmapManager* GetSharedBitmapManager() override; |
106 void DispatchBeforeInstallPromptEvent( | 106 void DispatchBeforeInstallPromptEvent( |
107 int request_id, | 107 int request_id, |
108 const std::vector<std::string>& event_platforms, | 108 const std::vector<std::string>& event_platforms, |
109 const base::Callback<void(bool)>& callback) override; | 109 const base::Callback<void(bool)>& callback) override; |
110 void ResolveBeforeInstallPromptPromise(int request_id, | 110 void ResolveBeforeInstallPromptPromise(int request_id, |
111 const std::string& platform) override; | 111 const std::string& platform) override; |
112 blink::WebPlugin* CreatePluginPlaceholder( | 112 blink::WebPlugin* CreatePluginPlaceholder( |
113 blink::WebLocalFrame* frame, | 113 blink::WebLocalFrame* frame, |
114 const blink::WebPluginParams& params) override; | 114 const blink::WebPluginParams& params) override; |
| 115 void OnWebTestProxyBaseDestroy(test_runner::WebTestProxyBase* base) override; |
115 | 116 |
116 test_runner::TestPreferences prefs_; | 117 test_runner::TestPreferences prefs_; |
117 test_runner::WebTestInterfaces* test_interfaces_; | 118 test_runner::WebTestInterfaces* test_interfaces_; |
118 test_runner::WebTestProxyBase* proxy_; | 119 test_runner::WebTestProxyBase* proxy_; |
| 120 std::string dump_tree_; |
119 | 121 |
120 DISALLOW_COPY_AND_ASSIGN(WebTestDelegateImpl); | 122 DISALLOW_COPY_AND_ASSIGN(WebTestDelegateImpl); |
121 }; | 123 }; |
122 | 124 |
123 } // namespace html_viewer | 125 } // namespace html_viewer |
124 | 126 |
125 #endif // COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ | 127 #endif // COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ |
OLD | NEW |