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

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: Plumb it for WebPagePopup. 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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 visitor->trace(m_validationMessageClient); 566 visitor->trace(m_validationMessageClient);
567 visitor->trace(m_multisamplingChangedObservers); 567 visitor->trace(m_multisamplingChangedObservers);
568 visitor->trace(m_frameHost); 568 visitor->trace(m_frameHost);
569 visitor->trace(m_memoryPurgeController); 569 visitor->trace(m_memoryPurgeController);
570 HeapSupplementable<Page>::trace(visitor); 570 HeapSupplementable<Page>::trace(visitor);
571 #endif 571 #endif
572 PageLifecycleNotifier::trace(visitor); 572 PageLifecycleNotifier::trace(visitor);
573 MemoryPurgeClient::trace(visitor); 573 MemoryPurgeClient::trace(visitor);
574 } 574 }
575 575
576 void Page::willCloseLayerTreeView() 576 void Page::layerTreeViewInitialized(WebLayerTreeView& layerTreeView)
577 {
578 if (scrollingCoordinator())
579 scrollingCoordinator()->layerTreeViewInitialized(layerTreeView);
580 }
581
582 void Page::willCloseLayerTreeView(WebLayerTreeView& layerTreeView)
577 { 583 {
578 if (m_scrollingCoordinator) 584 if (m_scrollingCoordinator)
579 m_scrollingCoordinator->willCloseLayerTreeView(); 585 m_scrollingCoordinator->willCloseLayerTreeView(layerTreeView);
580 } 586 }
581 587
582 void Page::willBeDestroyed() 588 void Page::willBeDestroyed()
583 { 589 {
584 RefPtrWillBeRawPtr<Frame> mainFrame = m_mainFrame; 590 RefPtrWillBeRawPtr<Frame> mainFrame = m_mainFrame;
585 591
586 mainFrame->detach(FrameDetachType::Remove); 592 mainFrame->detach(FrameDetachType::Remove);
587 593
588 ASSERT(allPages().contains(this)); 594 ASSERT(allPages().contains(this));
589 allPages().remove(this); 595 allPages().remove(this);
(...skipping 23 matching lines...) Expand all
613 { 619 {
614 } 620 }
615 621
616 Page::PageClients::~PageClients() 622 Page::PageClients::~PageClients()
617 { 623 {
618 } 624 }
619 625
620 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; 626 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>;
621 627
622 } // namespace blink 628 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698