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 |
353 void TestWebViewWidgetClient::scheduleAnimation() { | 358 void TestWebViewWidgetClient::scheduleAnimation() { |
354 m_testWebViewClient->scheduleAnimation(); | 359 m_testWebViewClient->scheduleAnimation(); |
355 } | 360 } |
356 | 361 |
357 void TestWebViewWidgetClient::didMeaningfulLayout( | 362 void TestWebViewWidgetClient::didMeaningfulLayout( |
358 WebMeaningfulLayout layoutType) { | 363 WebMeaningfulLayout layoutType) { |
359 m_testWebViewClient->didMeaningfulLayout(layoutType); | 364 m_testWebViewClient->didMeaningfulLayout(layoutType); |
360 } | 365 } |
361 | 366 |
362 } // namespace FrameTestHelpers | 367 } // namespace FrameTestHelpers |
363 } // namespace blink | 368 } // namespace blink |
OLD | NEW |