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 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 m_multisamplingChangedObservers.remove(observer); | 776 m_multisamplingChangedObservers.remove(observer); |
777 } | 777 } |
778 | 778 |
779 void Page::multisamplingChanged() | 779 void Page::multisamplingChanged() |
780 { | 780 { |
781 HashSet<MultisamplingChangedObserver*>::iterator stop = m_multisamplingChang
edObservers.end(); | 781 HashSet<MultisamplingChangedObserver*>::iterator stop = m_multisamplingChang
edObservers.end(); |
782 for (HashSet<MultisamplingChangedObserver*>::iterator it = m_multisamplingCh
angedObservers.begin(); it != stop; ++it) | 782 for (HashSet<MultisamplingChangedObserver*>::iterator it = m_multisamplingCh
angedObservers.begin(); it != stop; ++it) |
783 (*it)->multisamplingChanged(m_settings->openGLMultisamplingEnabled()); | 783 (*it)->multisamplingChanged(m_settings->openGLMultisamplingEnabled()); |
784 } | 784 } |
785 | 785 |
| 786 void Page::didCommitLoad(Frame* frame) |
| 787 { |
| 788 lifecycleNotifier()->notifyDidCommitLoad(frame); |
| 789 } |
| 790 |
786 PageLifecycleNotifier* Page::lifecycleNotifier() | 791 PageLifecycleNotifier* Page::lifecycleNotifier() |
787 { | 792 { |
788 return static_cast<PageLifecycleNotifier*>(LifecycleContext::lifecycleNotifi
er()); | 793 return static_cast<PageLifecycleNotifier*>(LifecycleContext::lifecycleNotifi
er()); |
789 } | 794 } |
790 | 795 |
791 PassOwnPtr<LifecycleNotifier> Page::createLifecycleNotifier() | 796 PassOwnPtr<LifecycleNotifier> Page::createLifecycleNotifier() |
792 { | 797 { |
793 return PageLifecycleNotifier::create(this); | 798 return PageLifecycleNotifier::create(this); |
794 } | 799 } |
795 | 800 |
796 Page::PageClients::PageClients() | 801 Page::PageClients::PageClients() |
797 : chromeClient(0) | 802 : chromeClient(0) |
798 , contextMenuClient(0) | 803 , contextMenuClient(0) |
799 , editorClient(0) | 804 , editorClient(0) |
800 , dragClient(0) | 805 , dragClient(0) |
801 , inspectorClient(0) | 806 , inspectorClient(0) |
802 { | 807 { |
803 } | 808 } |
804 | 809 |
805 Page::PageClients::~PageClients() | 810 Page::PageClients::~PageClients() |
806 { | 811 { |
807 } | 812 } |
808 | 813 |
809 } // namespace WebCore | 814 } // namespace WebCore |
OLD | NEW |