OLD | NEW |
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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
483 visitor->trace(m_dragCaretController); | 483 visitor->trace(m_dragCaretController); |
484 visitor->trace(m_dragController); | 484 visitor->trace(m_dragController); |
485 visitor->trace(m_focusController); | 485 visitor->trace(m_focusController); |
486 visitor->trace(m_contextMenuController); | 486 visitor->trace(m_contextMenuController); |
487 visitor->trace(m_pointerLockController); | 487 visitor->trace(m_pointerLockController); |
488 visitor->trace(m_scrollingCoordinator); | 488 visitor->trace(m_scrollingCoordinator); |
489 visitor->trace(m_mainFrame); | 489 visitor->trace(m_mainFrame); |
490 visitor->trace(m_validationMessageClient); | 490 visitor->trace(m_validationMessageClient); |
491 visitor->trace(m_frameHost); | 491 visitor->trace(m_frameHost); |
492 Supplementable<Page>::trace(visitor); | 492 Supplementable<Page>::trace(visitor); |
493 PageLifecycleNotifier::trace(visitor); | 493 PageVisibilityNotifier::trace(visitor); |
494 } | 494 } |
495 | 495 |
496 void Page::layerTreeViewInitialized(WebLayerTreeView& layerTreeView) | 496 void Page::layerTreeViewInitialized(WebLayerTreeView& layerTreeView) |
497 { | 497 { |
498 if (scrollingCoordinator()) | 498 if (scrollingCoordinator()) |
499 scrollingCoordinator()->layerTreeViewInitialized(layerTreeView); | 499 scrollingCoordinator()->layerTreeViewInitialized(layerTreeView); |
500 } | 500 } |
501 | 501 |
502 void Page::willCloseLayerTreeView(WebLayerTreeView& layerTreeView) | 502 void Page::willCloseLayerTreeView(WebLayerTreeView& layerTreeView) |
503 { | 503 { |
(...skipping 17 matching lines...) Expand all Loading... |
521 ordinaryPages().remove(this); | 521 ordinaryPages().remove(this); |
522 | 522 |
523 if (m_scrollingCoordinator) | 523 if (m_scrollingCoordinator) |
524 m_scrollingCoordinator->willBeDestroyed(); | 524 m_scrollingCoordinator->willBeDestroyed(); |
525 | 525 |
526 chromeClient().chromeDestroyed(); | 526 chromeClient().chromeDestroyed(); |
527 if (m_validationMessageClient) | 527 if (m_validationMessageClient) |
528 m_validationMessageClient->willBeDestroyed(); | 528 m_validationMessageClient->willBeDestroyed(); |
529 m_mainFrame = nullptr; | 529 m_mainFrame = nullptr; |
530 | 530 |
531 PageLifecycleNotifier::notifyContextDestroyed(); | 531 PageVisibilityNotifier::notifyContextDestroyed(); |
532 } | 532 } |
533 | 533 |
534 void Page::compressStrings(Timer<Page>* timer) | 534 void Page::compressStrings(Timer<Page>* timer) |
535 { | 535 { |
536 ASSERT_UNUSED(timer, timer == &m_timerForCompressStrings); | 536 ASSERT_UNUSED(timer, timer == &m_timerForCompressStrings); |
537 if (m_visibilityState == PageVisibilityStateHidden) | 537 if (m_visibilityState == PageVisibilityStateHidden) |
538 CompressibleStringImpl::compressAll(); | 538 CompressibleStringImpl::compressAll(); |
539 } | 539 } |
540 | 540 |
541 Page::PageClients::PageClients() | 541 Page::PageClients::PageClients() |
542 : chromeClient(nullptr) | 542 : chromeClient(nullptr) |
543 , contextMenuClient(nullptr) | 543 , contextMenuClient(nullptr) |
544 , editorClient(nullptr) | 544 , editorClient(nullptr) |
545 , spellCheckerClient(nullptr) | 545 , spellCheckerClient(nullptr) |
546 { | 546 { |
547 } | 547 } |
548 | 548 |
549 Page::PageClients::~PageClients() | 549 Page::PageClients::~PageClients() |
550 { | 550 { |
551 } | 551 } |
552 | 552 |
553 template class CORE_TEMPLATE_EXPORT Supplement<Page>; | 553 template class CORE_TEMPLATE_EXPORT Supplement<Page>; |
554 | 554 |
555 } // namespace blink | 555 } // namespace blink |
OLD | NEW |