Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp

Issue 2479663002: Move compositor InputHandler from RenderViewImpl to RenderWidget. (Closed)
Patch Set: Rebase to master@{#445291}. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/FrameTestHelpers.h ('k') | third_party/WebKit/Source/web/tests/WebViewTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698