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 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 return static_cast<PageLifecycleNotifier&>(LifecycleContext<Page>::lifecycle
Notifier()); | 591 return static_cast<PageLifecycleNotifier&>(LifecycleContext<Page>::lifecycle
Notifier()); |
592 } | 592 } |
593 | 593 |
594 PassOwnPtr<LifecycleNotifier<Page> > Page::createLifecycleNotifier() | 594 PassOwnPtr<LifecycleNotifier<Page> > Page::createLifecycleNotifier() |
595 { | 595 { |
596 return PageLifecycleNotifier::create(this); | 596 return PageLifecycleNotifier::create(this); |
597 } | 597 } |
598 | 598 |
599 void Page::trace(Visitor* visitor) | 599 void Page::trace(Visitor* visitor) |
600 { | 600 { |
| 601 #if ENABLE(OILPAN) |
601 visitor->trace(m_dragCaretController); | 602 visitor->trace(m_dragCaretController); |
602 visitor->trace(m_dragController); | 603 visitor->trace(m_dragController); |
603 visitor->trace(m_contextMenuController); | 604 visitor->trace(m_contextMenuController); |
604 visitor->trace(m_pointerLockController); | 605 visitor->trace(m_pointerLockController); |
605 visitor->trace(m_undoStack); | 606 visitor->trace(m_undoStack); |
606 visitor->trace(m_validationMessageClient); | 607 visitor->trace(m_validationMessageClient); |
607 visitor->trace(m_multisamplingChangedObservers); | 608 visitor->trace(m_multisamplingChangedObservers); |
608 visitor->trace(m_frameHost); | 609 visitor->trace(m_frameHost); |
| 610 #endif |
609 WillBeHeapSupplementable<Page>::trace(visitor); | 611 WillBeHeapSupplementable<Page>::trace(visitor); |
610 } | 612 } |
611 | 613 |
612 void Page::willBeDestroyed() | 614 void Page::willBeDestroyed() |
613 { | 615 { |
614 RefPtr<Frame> mainFrame = m_mainFrame; | 616 RefPtr<Frame> mainFrame = m_mainFrame; |
615 | 617 |
616 if (mainFrame->isLocalFrame()) | 618 if (mainFrame->isLocalFrame()) |
617 toLocalFrame(mainFrame.get())->loader().frameDetached(); | 619 toLocalFrame(mainFrame.get())->loader().frameDetached(); |
618 | 620 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 , spellCheckerClient(0) | 656 , spellCheckerClient(0) |
655 , storageClient(0) | 657 , storageClient(0) |
656 { | 658 { |
657 } | 659 } |
658 | 660 |
659 Page::PageClients::~PageClients() | 661 Page::PageClients::~PageClients() |
660 { | 662 { |
661 } | 663 } |
662 | 664 |
663 } // namespace WebCore | 665 } // namespace WebCore |
OLD | NEW |