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 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 view->updateAcceleratedCompositingSettings(); | 512 view->updateAcceleratedCompositingSettings(); |
513 } | 513 } |
514 } | 514 } |
515 | 515 |
516 void Page::didCommitLoad(LocalFrame* frame) | 516 void Page::didCommitLoad(LocalFrame* frame) |
517 { | 517 { |
518 notifyDidCommitLoad(frame); | 518 notifyDidCommitLoad(frame); |
519 if (m_mainFrame == frame) { | 519 if (m_mainFrame == frame) { |
520 frame->console().clearMessages(); | 520 frame->console().clearMessages(); |
521 useCounter().didCommitLoad(); | 521 useCounter().didCommitLoad(); |
| 522 frameHost().visualViewport().sendUMAMetrics(); |
522 m_originsUsingFeatures.updateMeasurementsAndClear(); | 523 m_originsUsingFeatures.updateMeasurementsAndClear(); |
523 UserGestureIndicator::clearProcessedUserGestureSinceLoad(); | 524 UserGestureIndicator::clearProcessedUserGestureSinceLoad(); |
524 } | 525 } |
525 } | 526 } |
526 | 527 |
527 void Page::acceptLanguagesChanged() | 528 void Page::acceptLanguagesChanged() |
528 { | 529 { |
529 WillBeHeapVector<RefPtrWillBeMember<LocalFrame>> frames; | 530 WillBeHeapVector<RefPtrWillBeMember<LocalFrame>> frames; |
530 | 531 |
531 // Even though we don't fire an event from here, the LocalDOMWindow's will f
ire | 532 // 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... |
608 { | 609 { |
609 } | 610 } |
610 | 611 |
611 Page::PageClients::~PageClients() | 612 Page::PageClients::~PageClients() |
612 { | 613 { |
613 } | 614 } |
614 | 615 |
615 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; | 616 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; |
616 | 617 |
617 } // namespace blink | 618 } // namespace blink |
OLD | NEW |