| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 124 |
| 125 std::unique_ptr<WebScrollbarLayer> | 125 std::unique_ptr<WebScrollbarLayer> |
| 126 TestingCompositorSupport::createSolidColorScrollbarLayer( | 126 TestingCompositorSupport::createSolidColorScrollbarLayer( |
| 127 WebScrollbar::Orientation, | 127 WebScrollbar::Orientation, |
| 128 int thumbThickness, | 128 int thumbThickness, |
| 129 int trackStart, | 129 int trackStart, |
| 130 bool isLeftSideVerticalScrollbar) { | 130 bool isLeftSideVerticalScrollbar) { |
| 131 return nullptr; | 131 return nullptr; |
| 132 } | 132 } |
| 133 | 133 |
| 134 TestingPlatformMockScheduler::TestingPlatformMockScheduler() {} | |
| 135 TestingPlatformMockScheduler::~TestingPlatformMockScheduler() {} | |
| 136 | |
| 137 TestingPlatformSupport::TestingPlatformSupport() | 134 TestingPlatformSupport::TestingPlatformSupport() |
| 138 : TestingPlatformSupport(TestingPlatformSupport::Config()) {} | 135 : TestingPlatformSupport(TestingPlatformSupport::Config()) {} |
| 139 | 136 |
| 140 TestingPlatformSupport::TestingPlatformSupport(const Config& config) | 137 TestingPlatformSupport::TestingPlatformSupport(const Config& config) |
| 141 : m_config(config), | 138 : m_config(config), |
| 142 m_oldPlatform(Platform::current()), | 139 m_oldPlatform(Platform::current()), |
| 143 m_interfaceProvider(new TestingInterfaceProvider) { | 140 m_interfaceProvider(new TestingInterfaceProvider) { |
| 144 DCHECK(m_oldPlatform); | 141 DCHECK(m_oldPlatform); |
| 145 } | 142 } |
| 146 | 143 |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 ProcessHeap::init(); | 335 ProcessHeap::init(); |
| 339 ThreadState::attachMainThread(); | 336 ThreadState::attachMainThread(); |
| 340 ThreadState::current()->registerTraceDOMWrappers(nullptr, nullptr, nullptr, | 337 ThreadState::current()->registerTraceDOMWrappers(nullptr, nullptr, nullptr, |
| 341 nullptr); | 338 nullptr); |
| 342 HTTPNames::init(); | 339 HTTPNames::init(); |
| 343 } | 340 } |
| 344 | 341 |
| 345 ScopedUnittestsEnvironmentSetup::~ScopedUnittestsEnvironmentSetup() {} | 342 ScopedUnittestsEnvironmentSetup::~ScopedUnittestsEnvironmentSetup() {} |
| 346 | 343 |
| 347 } // namespace blink | 344 } // namespace blink |
| OLD | NEW |