| 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 m_mainFrame = mainFrame; | 209 m_mainFrame = mainFrame; |
| 210 } | 210 } |
| 211 | 211 |
| 212 void Page::documentDetached(Document* document) | 212 void Page::documentDetached(Document* document) |
| 213 { | 213 { |
| 214 m_multisamplingChangedObservers.clear(); | 214 m_multisamplingChangedObservers.clear(); |
| 215 m_pointerLockController->documentDetached(document); | 215 m_pointerLockController->documentDetached(document); |
| 216 m_contextMenuController->documentDetached(document); | 216 m_contextMenuController->documentDetached(document); |
| 217 if (m_validationMessageClient) | 217 if (m_validationMessageClient) |
| 218 m_validationMessageClient->documentDetached(*document); | 218 m_validationMessageClient->documentDetached(*document); |
| 219 m_originsUsingFeatures.documentDetached(*document); |
| 219 } | 220 } |
| 220 | 221 |
| 221 bool Page::openedByDOM() const | 222 bool Page::openedByDOM() const |
| 222 { | 223 { |
| 223 return m_openedByDOM; | 224 return m_openedByDOM; |
| 224 } | 225 } |
| 225 | 226 |
| 226 void Page::setOpenedByDOM() | 227 void Page::setOpenedByDOM() |
| 227 { | 228 { |
| 228 m_openedByDOM = true; | 229 m_openedByDOM = true; |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 view->updateAcceleratedCompositingSettings(); | 540 view->updateAcceleratedCompositingSettings(); |
| 540 } | 541 } |
| 541 } | 542 } |
| 542 | 543 |
| 543 void Page::didCommitLoad(LocalFrame* frame) | 544 void Page::didCommitLoad(LocalFrame* frame) |
| 544 { | 545 { |
| 545 notifyDidCommitLoad(frame); | 546 notifyDidCommitLoad(frame); |
| 546 if (m_mainFrame == frame) { | 547 if (m_mainFrame == frame) { |
| 547 frame->console().clearMessages(); | 548 frame->console().clearMessages(); |
| 548 useCounter().didCommitLoad(); | 549 useCounter().didCommitLoad(); |
| 550 m_originsUsingFeatures.updateMeasurementsAndClear(); |
| 549 UserGestureIndicator::clearProcessedUserGestureSinceLoad(); | 551 UserGestureIndicator::clearProcessedUserGestureSinceLoad(); |
| 550 } | 552 } |
| 551 } | 553 } |
| 552 | 554 |
| 553 void Page::acceptLanguagesChanged() | 555 void Page::acceptLanguagesChanged() |
| 554 { | 556 { |
| 555 WillBeHeapVector<RefPtrWillBeMember<LocalFrame>> frames; | 557 WillBeHeapVector<RefPtrWillBeMember<LocalFrame>> frames; |
| 556 | 558 |
| 557 // Even though we don't fire an event from here, the LocalDOMWindow's will f
ire | 559 // Even though we don't fire an event from here, the LocalDOMWindow's will f
ire |
| 558 // an event so we keep the frames alive until we are done. | 560 // an event so we keep the frames alive until we are done. |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 626 , dragClient(nullptr) | 628 , dragClient(nullptr) |
| 627 , spellCheckerClient(nullptr) | 629 , spellCheckerClient(nullptr) |
| 628 { | 630 { |
| 629 } | 631 } |
| 630 | 632 |
| 631 Page::PageClients::~PageClients() | 633 Page::PageClients::~PageClients() |
| 632 { | 634 { |
| 633 } | 635 } |
| 634 | 636 |
| 635 } // namespace blink | 637 } // namespace blink |
| OLD | NEW |