| 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 #include "components/html_viewer/web_test_delegate_impl.h" | 5 #include "components/html_viewer/web_test_delegate_impl.h" |
| 6 | 6 |
| 7 #include "base/time/time.h" | 7 #include "base/time/time.h" |
| 8 #include "cc/layers/texture_layer.h" | 8 #include "cc/layers/texture_layer.h" |
| 9 #include "components/test_runner/web_task.h" | 9 #include "components/test_runner/web_task.h" |
| 10 #include "components/test_runner/web_test_interfaces.h" | 10 #include "components/test_runner/web_test_interfaces.h" |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 } | 188 } |
| 189 | 189 |
| 190 void WebTestDelegateImpl::SetDeviceColorProfile(const std::string& name) { | 190 void WebTestDelegateImpl::SetDeviceColorProfile(const std::string& name) { |
| 191 NOTIMPLEMENTED(); | 191 NOTIMPLEMENTED(); |
| 192 } | 192 } |
| 193 | 193 |
| 194 void WebTestDelegateImpl::SetBluetoothMockDataSet(const std::string& data_set) { | 194 void WebTestDelegateImpl::SetBluetoothMockDataSet(const std::string& data_set) { |
| 195 NOTIMPLEMENTED(); | 195 NOTIMPLEMENTED(); |
| 196 } | 196 } |
| 197 | 197 |
| 198 void WebTestDelegateImpl::SetBluetoothManualChooser() { |
| 199 NOTIMPLEMENTED(); |
| 200 } |
| 201 |
| 202 std::vector<std::string> |
| 203 WebTestDelegateImpl::GetBluetoothManualChooserEvents() { |
| 204 NOTIMPLEMENTED(); |
| 205 return std::vector<std::string>(); |
| 206 } |
| 207 |
| 208 void WebTestDelegateImpl::SendBluetoothManualChooserEvent( |
| 209 const std::string& event, |
| 210 const std::string& argument) { |
| 211 NOTIMPLEMENTED(); |
| 212 } |
| 213 |
| 198 void WebTestDelegateImpl::SetGeofencingMockProvider(bool service_available) { | 214 void WebTestDelegateImpl::SetGeofencingMockProvider(bool service_available) { |
| 199 NOTIMPLEMENTED(); | 215 NOTIMPLEMENTED(); |
| 200 } | 216 } |
| 201 | 217 |
| 202 void WebTestDelegateImpl::ClearGeofencingMockProvider() { | 218 void WebTestDelegateImpl::ClearGeofencingMockProvider() { |
| 203 NOTIMPLEMENTED(); | 219 NOTIMPLEMENTED(); |
| 204 } | 220 } |
| 205 | 221 |
| 206 void WebTestDelegateImpl::SetGeofencingMockPosition(double latitude, | 222 void WebTestDelegateImpl::SetGeofencingMockPosition(double latitude, |
| 207 double longitude) { | 223 double longitude) { |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 } | 330 } |
| 315 | 331 |
| 316 void WebTestDelegateImpl::OnWebTestProxyBaseDestroy( | 332 void WebTestDelegateImpl::OnWebTestProxyBaseDestroy( |
| 317 test_runner::WebTestProxyBase* base) { | 333 test_runner::WebTestProxyBase* base) { |
| 318 DCHECK_EQ(proxy_, base); | 334 DCHECK_EQ(proxy_, base); |
| 319 dump_tree_ = proxy_->CaptureTree(false, false); | 335 dump_tree_ = proxy_->CaptureTree(false, false); |
| 320 proxy_ = nullptr; | 336 proxy_ = nullptr; |
| 321 } | 337 } |
| 322 | 338 |
| 323 } // namespace html_viewer | 339 } // namespace html_viewer |
| OLD | NEW |