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

Side by Side Diff: third_party/WebKit/Source/core/page/Page.cpp

Issue 1459023002: Compositor Animation Timelines: Fix frame swapping tests in WebFrameTest.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Check if m_page is null in WebPagePopupImpl. Created 5 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) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R ights Reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R ights Reserved.
3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 visitor->trace(m_validationMessageClient); 539 visitor->trace(m_validationMessageClient);
540 visitor->trace(m_multisamplingChangedObservers); 540 visitor->trace(m_multisamplingChangedObservers);
541 visitor->trace(m_frameHost); 541 visitor->trace(m_frameHost);
542 visitor->trace(m_memoryPurgeController); 542 visitor->trace(m_memoryPurgeController);
543 HeapSupplementable<Page>::trace(visitor); 543 HeapSupplementable<Page>::trace(visitor);
544 #endif 544 #endif
545 PageLifecycleNotifier::trace(visitor); 545 PageLifecycleNotifier::trace(visitor);
546 MemoryPurgeClient::trace(visitor); 546 MemoryPurgeClient::trace(visitor);
547 } 547 }
548 548
549 void Page::willCloseLayerTreeView() 549 void Page::layerTreeViewInitialized(WebLayerTreeView& layerTreeView)
550 {
551 if (scrollingCoordinator())
552 scrollingCoordinator()->layerTreeViewInitialized(layerTreeView);
553 }
554
555 void Page::willCloseLayerTreeView(WebLayerTreeView& layerTreeView)
550 { 556 {
551 if (m_scrollingCoordinator) 557 if (m_scrollingCoordinator)
552 m_scrollingCoordinator->willCloseLayerTreeView(); 558 m_scrollingCoordinator->willCloseLayerTreeView(layerTreeView);
553 } 559 }
554 560
555 void Page::willBeDestroyed() 561 void Page::willBeDestroyed()
556 { 562 {
557 RefPtrWillBeRawPtr<Frame> mainFrame = m_mainFrame; 563 RefPtrWillBeRawPtr<Frame> mainFrame = m_mainFrame;
558 564
559 mainFrame->detach(FrameDetachType::Remove); 565 mainFrame->detach(FrameDetachType::Remove);
560 566
561 ASSERT(allPages().contains(this)); 567 ASSERT(allPages().contains(this));
562 allPages().remove(this); 568 allPages().remove(this);
(...skipping 23 matching lines...) Expand all
586 { 592 {
587 } 593 }
588 594
589 Page::PageClients::~PageClients() 595 Page::PageClients::~PageClients()
590 { 596 {
591 } 597 }
592 598
593 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; 599 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>;
594 600
595 } // namespace blink 601 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.h ('k') | third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698