| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All |
| 3 * Rights Reserved. | 3 * Rights Reserved. |
| 4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. | 4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. |
| 5 * (http://www.torchmobile.com/) | 5 * (http://www.torchmobile.com/) |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 visitor->trace(m_contextMenuController); | 500 visitor->trace(m_contextMenuController); |
| 501 visitor->trace(m_pointerLockController); | 501 visitor->trace(m_pointerLockController); |
| 502 visitor->trace(m_scrollingCoordinator); | 502 visitor->trace(m_scrollingCoordinator); |
| 503 visitor->trace(m_mainFrame); | 503 visitor->trace(m_mainFrame); |
| 504 visitor->trace(m_validationMessageClient); | 504 visitor->trace(m_validationMessageClient); |
| 505 visitor->trace(m_frameHost); | 505 visitor->trace(m_frameHost); |
| 506 Supplementable<Page>::trace(visitor); | 506 Supplementable<Page>::trace(visitor); |
| 507 PageVisibilityNotifier::trace(visitor); | 507 PageVisibilityNotifier::trace(visitor); |
| 508 } | 508 } |
| 509 | 509 |
| 510 void Page::layerTreeViewInitialized(WebLayerTreeView& layerTreeView) { | 510 void Page::layerTreeViewInitialized(WebLayerTreeView& layerTreeView, |
| 511 FrameView* view) { |
| 511 if (scrollingCoordinator()) | 512 if (scrollingCoordinator()) |
| 512 scrollingCoordinator()->layerTreeViewInitialized(layerTreeView); | 513 scrollingCoordinator()->layerTreeViewInitialized(layerTreeView, view); |
| 513 } | 514 } |
| 514 | 515 |
| 515 void Page::willCloseLayerTreeView(WebLayerTreeView& layerTreeView) { | 516 void Page::willCloseLayerTreeView(WebLayerTreeView& layerTreeView, |
| 517 FrameView* view) { |
| 516 if (m_scrollingCoordinator) | 518 if (m_scrollingCoordinator) |
| 517 m_scrollingCoordinator->willCloseLayerTreeView(layerTreeView); | 519 m_scrollingCoordinator->willCloseLayerTreeView(layerTreeView, view); |
| 518 } | 520 } |
| 519 | 521 |
| 520 void Page::willBeDestroyed() { | 522 void Page::willBeDestroyed() { |
| 521 Frame* mainFrame = m_mainFrame; | 523 Frame* mainFrame = m_mainFrame; |
| 522 | 524 |
| 523 mainFrame->detach(FrameDetachType::Remove); | 525 mainFrame->detach(FrameDetachType::Remove); |
| 524 | 526 |
| 525 ASSERT(allPages().contains(this)); | 527 ASSERT(allPages().contains(this)); |
| 526 allPages().remove(this); | 528 allPages().remove(this); |
| 527 ordinaryPages().remove(this); | 529 ordinaryPages().remove(this); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 541 : chromeClient(nullptr), | 543 : chromeClient(nullptr), |
| 542 contextMenuClient(nullptr), | 544 contextMenuClient(nullptr), |
| 543 editorClient(nullptr), | 545 editorClient(nullptr), |
| 544 spellCheckerClient(nullptr) {} | 546 spellCheckerClient(nullptr) {} |
| 545 | 547 |
| 546 Page::PageClients::~PageClients() {} | 548 Page::PageClients::~PageClients() {} |
| 547 | 549 |
| 548 template class CORE_TEMPLATE_EXPORT Supplement<Page>; | 550 template class CORE_TEMPLATE_EXPORT Supplement<Page>; |
| 549 | 551 |
| 550 } // namespace blink | 552 } // namespace blink |
| OLD | NEW |