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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 | 343 |
344 WebLayerTreeView* TestWebViewClient::initializeLayerTreeView() { | 344 WebLayerTreeView* TestWebViewClient::initializeLayerTreeView() { |
345 m_layerTreeView = WTF::wrapUnique(new WebLayerTreeViewImplForTesting); | 345 m_layerTreeView = WTF::wrapUnique(new WebLayerTreeViewImplForTesting); |
346 return m_layerTreeView.get(); | 346 return m_layerTreeView.get(); |
347 } | 347 } |
348 | 348 |
349 WebLayerTreeView* TestWebViewWidgetClient::initializeLayerTreeView() { | 349 WebLayerTreeView* TestWebViewWidgetClient::initializeLayerTreeView() { |
350 return m_testWebViewClient->initializeLayerTreeView(); | 350 return m_testWebViewClient->initializeLayerTreeView(); |
351 } | 351 } |
352 | 352 |
353 WebLayerTreeView* TestWebWidgetClient::initializeLayerTreeView() { | |
354 m_layerTreeView = WTF::makeUnique<WebLayerTreeViewImplForTesting>(); | |
355 return m_layerTreeView.get(); | |
356 } | |
357 | |
358 void TestWebViewWidgetClient::scheduleAnimation() { | 353 void TestWebViewWidgetClient::scheduleAnimation() { |
359 m_testWebViewClient->scheduleAnimation(); | 354 m_testWebViewClient->scheduleAnimation(); |
360 } | 355 } |
361 | 356 |
362 void TestWebViewWidgetClient::didMeaningfulLayout( | 357 void TestWebViewWidgetClient::didMeaningfulLayout( |
363 WebMeaningfulLayout layoutType) { | 358 WebMeaningfulLayout layoutType) { |
364 m_testWebViewClient->didMeaningfulLayout(layoutType); | 359 m_testWebViewClient->didMeaningfulLayout(layoutType); |
365 } | 360 } |
366 | 361 |
367 } // namespace FrameTestHelpers | 362 } // namespace FrameTestHelpers |
368 } // namespace blink | 363 } // namespace blink |
OLD | NEW |