| 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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 if (!frame->isLocalFrame()) | 426 if (!frame->isLocalFrame()) |
| 427 continue; | 427 continue; |
| 428 if (FrameView* view = toLocalFrame(frame)->view()) | 428 if (FrameView* view = toLocalFrame(frame)->view()) |
| 429 view->updateAcceleratedCompositingSettings(); | 429 view->updateAcceleratedCompositingSettings(); |
| 430 } | 430 } |
| 431 } | 431 } |
| 432 | 432 |
| 433 void Page::didCommitLoad(LocalFrame* frame) | 433 void Page::didCommitLoad(LocalFrame* frame) |
| 434 { | 434 { |
| 435 if (m_mainFrame == frame) { | 435 if (m_mainFrame == frame) { |
| 436 // TODO(rbyers): Most of this doesn't appear to take into account that e
ach |
| 437 // SVGImage gets it's own Page instance. |
| 436 frameHost().consoleMessageStorage().clear(); | 438 frameHost().consoleMessageStorage().clear(); |
| 437 useCounter().didCommitLoad(); | 439 useCounter().didCommitLoad(); |
| 438 deprecation().clearSuppression(); | 440 deprecation().clearSuppression(); |
| 439 frameHost().visualViewport().sendUMAMetrics(); | 441 frameHost().visualViewport().sendUMAMetrics(); |
| 440 m_hostsUsingFeatures.updateMeasurementsAndClear(); | 442 m_hostsUsingFeatures.updateMeasurementsAndClear(); |
| 441 UserGestureIndicator::clearProcessedUserGestureSinceLoad(); | 443 UserGestureIndicator::clearProcessedUserGestureSinceLoad(); |
| 442 } | 444 } |
| 443 } | 445 } |
| 444 | 446 |
| 445 void Page::acceptLanguagesChanged() | 447 void Page::acceptLanguagesChanged() |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 521 { | 523 { |
| 522 } | 524 } |
| 523 | 525 |
| 524 Page::PageClients::~PageClients() | 526 Page::PageClients::~PageClients() |
| 525 { | 527 { |
| 526 } | 528 } |
| 527 | 529 |
| 528 template class CORE_TEMPLATE_EXPORT Supplement<Page>; | 530 template class CORE_TEMPLATE_EXPORT Supplement<Page>; |
| 529 | 531 |
| 530 } // namespace blink | 532 } // namespace blink |
| OLD | NEW |