| 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 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 506 view->updateAcceleratedCompositingSettings(); | 506 view->updateAcceleratedCompositingSettings(); |
| 507 } | 507 } |
| 508 } | 508 } |
| 509 | 509 |
| 510 void Page::didCommitLoad(LocalFrame* frame) | 510 void Page::didCommitLoad(LocalFrame* frame) |
| 511 { | 511 { |
| 512 notifyDidCommitLoad(frame); | 512 notifyDidCommitLoad(frame); |
| 513 if (m_mainFrame == frame) { | 513 if (m_mainFrame == frame) { |
| 514 frame->console().clearMessages(); | 514 frame->console().clearMessages(); |
| 515 useCounter().didCommitLoad(); | 515 useCounter().didCommitLoad(); |
| 516 frameHost().visualViewport().sendUMAMetrics(); |
| 516 m_originsUsingFeatures.updateMeasurementsAndClear(); | 517 m_originsUsingFeatures.updateMeasurementsAndClear(); |
| 517 UserGestureIndicator::clearProcessedUserGestureSinceLoad(); | 518 UserGestureIndicator::clearProcessedUserGestureSinceLoad(); |
| 518 } | 519 } |
| 519 } | 520 } |
| 520 | 521 |
| 521 void Page::acceptLanguagesChanged() | 522 void Page::acceptLanguagesChanged() |
| 522 { | 523 { |
| 523 WillBeHeapVector<RefPtrWillBeMember<LocalFrame>> frames; | 524 WillBeHeapVector<RefPtrWillBeMember<LocalFrame>> frames; |
| 524 | 525 |
| 525 // Even though we don't fire an event from here, the LocalDOMWindow's will f
ire | 526 // Even though we don't fire an event from here, the LocalDOMWindow's will f
ire |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 { | 603 { |
| 603 } | 604 } |
| 604 | 605 |
| 605 Page::PageClients::~PageClients() | 606 Page::PageClients::~PageClients() |
| 606 { | 607 { |
| 607 } | 608 } |
| 608 | 609 |
| 609 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; | 610 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; |
| 610 | 611 |
| 611 } // namespace blink | 612 } // namespace blink |
| OLD | NEW |