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 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698