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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNext()
) { | 429 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNext()
) { |
430 if (!frame->isLocalFrame()) | 430 if (!frame->isLocalFrame()) |
431 continue; | 431 continue; |
432 if (FrameView* view = toLocalFrame(frame)->view()) | 432 if (FrameView* view = toLocalFrame(frame)->view()) |
433 view->updateAcceleratedCompositingSettings(); | 433 view->updateAcceleratedCompositingSettings(); |
434 } | 434 } |
435 } | 435 } |
436 | 436 |
437 void Page::didCommitLoad(LocalFrame* frame) | 437 void Page::didCommitLoad(LocalFrame* frame) |
438 { | 438 { |
439 notifyDidCommitLoad(frame); | |
440 if (m_mainFrame == frame) { | 439 if (m_mainFrame == frame) { |
441 useCounter().didCommitLoad(); | 440 useCounter().didCommitLoad(); |
442 deprecation().clearSuppression(); | 441 deprecation().clearSuppression(); |
443 frameHost().visualViewport().sendUMAMetrics(); | 442 frameHost().visualViewport().sendUMAMetrics(); |
444 m_hostsUsingFeatures.updateMeasurementsAndClear(); | 443 m_hostsUsingFeatures.updateMeasurementsAndClear(); |
445 UserGestureIndicator::clearProcessedUserGestureSinceLoad(); | 444 UserGestureIndicator::clearProcessedUserGestureSinceLoad(); |
446 } | 445 } |
447 } | 446 } |
448 | 447 |
449 void Page::acceptLanguagesChanged() | 448 void Page::acceptLanguagesChanged() |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 { | 531 { |
533 } | 532 } |
534 | 533 |
535 Page::PageClients::~PageClients() | 534 Page::PageClients::~PageClients() |
536 { | 535 { |
537 } | 536 } |
538 | 537 |
539 template class CORE_TEMPLATE_EXPORT Supplement<Page>; | 538 template class CORE_TEMPLATE_EXPORT Supplement<Page>; |
540 | 539 |
541 } // namespace blink | 540 } // namespace blink |
OLD | NEW |