| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 this, | 319 this, |
| 320 nullptr)) {} | 320 nullptr)) {} |
| 321 | 321 |
| 322 void TestWebRemoteFrameClient::frameDetached(DetachType type) { | 322 void TestWebRemoteFrameClient::frameDetached(DetachType type) { |
| 323 if (type == DetachType::Remove && m_frame->parent()) | 323 if (type == DetachType::Remove && m_frame->parent()) |
| 324 m_frame->parent()->removeChild(m_frame); | 324 m_frame->parent()->removeChild(m_frame); |
| 325 m_frame->close(); | 325 m_frame->close(); |
| 326 } | 326 } |
| 327 | 327 |
| 328 void TestWebViewClient::initializeLayerTreeView() { | 328 void TestWebViewClient::initializeLayerTreeView() { |
| 329 m_layerTreeView = wrapUnique(new WebLayerTreeViewImplForTesting); | 329 m_layerTreeView = WTF::wrapUnique(new WebLayerTreeViewImplForTesting); |
| 330 } | 330 } |
| 331 | 331 |
| 332 void TestWebViewWidgetClient::initializeLayerTreeView() { | 332 void TestWebViewWidgetClient::initializeLayerTreeView() { |
| 333 m_testWebViewClient->initializeLayerTreeView(); | 333 m_testWebViewClient->initializeLayerTreeView(); |
| 334 } | 334 } |
| 335 | 335 |
| 336 WebLayerTreeView* TestWebViewWidgetClient::layerTreeView() { | 336 WebLayerTreeView* TestWebViewWidgetClient::layerTreeView() { |
| 337 return m_testWebViewClient->layerTreeView(); | 337 return m_testWebViewClient->layerTreeView(); |
| 338 } | 338 } |
| 339 | 339 |
| 340 void TestWebViewWidgetClient::scheduleAnimation() { | 340 void TestWebViewWidgetClient::scheduleAnimation() { |
| 341 m_testWebViewClient->scheduleAnimation(); | 341 m_testWebViewClient->scheduleAnimation(); |
| 342 } | 342 } |
| 343 | 343 |
| 344 void TestWebViewWidgetClient::didMeaningfulLayout( | 344 void TestWebViewWidgetClient::didMeaningfulLayout( |
| 345 WebMeaningfulLayout layoutType) { | 345 WebMeaningfulLayout layoutType) { |
| 346 m_testWebViewClient->didMeaningfulLayout(layoutType); | 346 m_testWebViewClient->didMeaningfulLayout(layoutType); |
| 347 } | 347 } |
| 348 | 348 |
| 349 } // namespace FrameTestHelpers | 349 } // namespace FrameTestHelpers |
| 350 } // namespace blink | 350 } // namespace blink |
| OLD | NEW |