Chromium Code Reviews| 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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 491 view->updateAcceleratedCompositingSettings(); | 491 view->updateAcceleratedCompositingSettings(); |
| 492 } | 492 } |
| 493 } | 493 } |
| 494 | 494 |
| 495 void Page::didCommitLoad(LocalFrame* frame) | 495 void Page::didCommitLoad(LocalFrame* frame) |
| 496 { | 496 { |
| 497 notifyDidCommitLoad(frame); | 497 notifyDidCommitLoad(frame); |
| 498 if (m_mainFrame == frame) { | 498 if (m_mainFrame == frame) { |
| 499 frame->console().clearMessages(); | 499 frame->console().clearMessages(); |
| 500 useCounter().didCommitLoad(); | 500 useCounter().didCommitLoad(); |
| 501 deprecation().clearSuppression(); | |
|
nainar
2016/02/01 07:37:03
Addition: Clearing all suppression bits here.
| |
| 501 frameHost().visualViewport().sendUMAMetrics(); | 502 frameHost().visualViewport().sendUMAMetrics(); |
| 502 m_originsUsingFeatures.updateMeasurementsAndClear(); | 503 m_originsUsingFeatures.updateMeasurementsAndClear(); |
| 503 UserGestureIndicator::clearProcessedUserGestureSinceLoad(); | 504 UserGestureIndicator::clearProcessedUserGestureSinceLoad(); |
| 504 } | 505 } |
| 505 } | 506 } |
| 506 | 507 |
| 507 void Page::acceptLanguagesChanged() | 508 void Page::acceptLanguagesChanged() |
| 508 { | 509 { |
| 509 WillBeHeapVector<RefPtrWillBeMember<LocalFrame>> frames; | 510 WillBeHeapVector<RefPtrWillBeMember<LocalFrame>> frames; |
| 510 | 511 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 607 { | 608 { |
| 608 } | 609 } |
| 609 | 610 |
| 610 Page::PageClients::~PageClients() | 611 Page::PageClients::~PageClients() |
| 611 { | 612 { |
| 612 } | 613 } |
| 613 | 614 |
| 614 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; | 615 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; |
| 615 | 616 |
| 616 } // namespace blink | 617 } // namespace blink |
| OLD | NEW |