| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "sky/engine/testing/platform/platform_impl.h" | 5 #include "sky/engine/testing/platform/platform_impl.h" |
| 6 | 6 |
| 7 #include <cmath> | 7 #include <cmath> |
| 8 | 8 |
| 9 #include "base/rand_util.h" | 9 #include "base/rand_util.h" |
| 10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 } | 83 } |
| 84 | 84 |
| 85 void PlatformImpl::stopSharedTimer() { | 85 void PlatformImpl::stopSharedTimer() { |
| 86 shared_timer_.Stop(); | 86 shared_timer_.Stop(); |
| 87 } | 87 } |
| 88 | 88 |
| 89 blink::WebUnitTestSupport* PlatformImpl::unitTestSupport() { | 89 blink::WebUnitTestSupport* PlatformImpl::unitTestSupport() { |
| 90 return &unit_test_support_; | 90 return &unit_test_support_; |
| 91 } | 91 } |
| 92 | 92 |
| 93 blink::WebScrollbarBehavior* PlatformImpl::scrollbarBehavior() { | |
| 94 return &scrollbar_behavior_; | |
| 95 } | |
| 96 | |
| 97 const unsigned char* PlatformImpl::getTraceCategoryEnabledFlag( | 93 const unsigned char* PlatformImpl::getTraceCategoryEnabledFlag( |
| 98 const char* category_name) { | 94 const char* category_name) { |
| 99 static const unsigned char buf[] = "*"; | 95 static const unsigned char buf[] = "*"; |
| 100 return buf; | 96 return buf; |
| 101 } | 97 } |
| 102 | 98 |
| 103 } // namespace sky | 99 } // namespace sky |
| OLD | NEW |