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 <iostream> | 7 #include <iostream> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 75 |
76 void WebTestDelegateImpl::SetScreenOrientation( | 76 void WebTestDelegateImpl::SetScreenOrientation( |
77 const blink::WebScreenOrientationType& orientation) { | 77 const blink::WebScreenOrientationType& orientation) { |
78 NOTIMPLEMENTED(); | 78 NOTIMPLEMENTED(); |
79 } | 79 } |
80 | 80 |
81 void WebTestDelegateImpl::ResetScreenOrientation() { | 81 void WebTestDelegateImpl::ResetScreenOrientation() { |
82 NOTIMPLEMENTED(); | 82 NOTIMPLEMENTED(); |
83 } | 83 } |
84 | 84 |
85 void WebTestDelegateImpl::DidChangeBatteryStatus( | |
86 const blink::WebBatteryStatus& status) { | |
87 NOTIMPLEMENTED(); | |
88 } | |
89 | |
90 void WebTestDelegateImpl::PrintMessage(const std::string& message) { | 85 void WebTestDelegateImpl::PrintMessage(const std::string& message) { |
91 std::cout << message; | 86 std::cout << message; |
92 } | 87 } |
93 | 88 |
94 void WebTestDelegateImpl::PostTask(test_runner::WebTask* task) { | 89 void WebTestDelegateImpl::PostTask(test_runner::WebTask* task) { |
95 blink::Platform::current()->currentThread()->taskRunner()->postTask( | 90 blink::Platform::current()->currentThread()->taskRunner()->postTask( |
96 blink::WebTraceLocation(__FUNCTION__, __FILE__), | 91 blink::WebTraceLocation(__FUNCTION__, __FILE__), |
97 new InvokeTaskHelper(make_scoped_ptr(task))); | 92 new InvokeTaskHelper(make_scoped_ptr(task))); |
98 } | 93 } |
99 | 94 |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 test_runner::WebTestProxyBase* base) { | 358 test_runner::WebTestProxyBase* base) { |
364 } | 359 } |
365 | 360 |
366 blink::WebPoint WebTestDelegateImpl::ConvertDIPToNative( | 361 blink::WebPoint WebTestDelegateImpl::ConvertDIPToNative( |
367 const blink::WebPoint& point_in_dip) const { | 362 const blink::WebPoint& point_in_dip) const { |
368 NOTIMPLEMENTED(); | 363 NOTIMPLEMENTED(); |
369 return point_in_dip; | 364 return point_in_dip; |
370 } | 365 } |
371 | 366 |
372 } // namespace html_viewer | 367 } // namespace html_viewer |
OLD | NEW |