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 19 matching lines...) Expand all Loading... |
30 #include "core/fetch/ResourceFetcher.h" | 30 #include "core/fetch/ResourceFetcher.h" |
31 #include "core/frame/DOMTimer.h" | 31 #include "core/frame/DOMTimer.h" |
32 #include "core/frame/FrameConsole.h" | 32 #include "core/frame/FrameConsole.h" |
33 #include "core/frame/FrameHost.h" | 33 #include "core/frame/FrameHost.h" |
34 #include "core/frame/FrameView.h" | 34 #include "core/frame/FrameView.h" |
35 #include "core/frame/RemoteFrame.h" | 35 #include "core/frame/RemoteFrame.h" |
36 #include "core/frame/RemoteFrameView.h" | 36 #include "core/frame/RemoteFrameView.h" |
37 #include "core/frame/Settings.h" | 37 #include "core/frame/Settings.h" |
38 #include "core/frame/VisualViewport.h" | 38 #include "core/frame/VisualViewport.h" |
39 #include "core/html/HTMLMediaElement.h" | 39 #include "core/html/HTMLMediaElement.h" |
| 40 #include "core/inspector/ConsoleMessageStorage.h" |
40 #include "core/inspector/InspectorInstrumentation.h" | 41 #include "core/inspector/InspectorInstrumentation.h" |
41 #include "core/layout/TextAutosizer.h" | 42 #include "core/layout/TextAutosizer.h" |
42 #include "core/page/AutoscrollController.h" | 43 #include "core/page/AutoscrollController.h" |
43 #include "core/page/ChromeClient.h" | 44 #include "core/page/ChromeClient.h" |
44 #include "core/page/ContextMenuController.h" | 45 #include "core/page/ContextMenuController.h" |
45 #include "core/page/DragController.h" | 46 #include "core/page/DragController.h" |
46 #include "core/page/FocusController.h" | 47 #include "core/page/FocusController.h" |
47 #include "core/page/PointerLockController.h" | 48 #include "core/page/PointerLockController.h" |
48 #include "core/page/ValidationMessageClient.h" | 49 #include "core/page/ValidationMessageClient.h" |
49 #include "core/page/scrolling/ScrollingCoordinator.h" | 50 #include "core/page/scrolling/ScrollingCoordinator.h" |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 if (!frame->isLocalFrame()) | 446 if (!frame->isLocalFrame()) |
446 continue; | 447 continue; |
447 if (FrameView* view = toLocalFrame(frame)->view()) | 448 if (FrameView* view = toLocalFrame(frame)->view()) |
448 view->updateAcceleratedCompositingSettings(); | 449 view->updateAcceleratedCompositingSettings(); |
449 } | 450 } |
450 } | 451 } |
451 | 452 |
452 void Page::didCommitLoad(LocalFrame* frame) | 453 void Page::didCommitLoad(LocalFrame* frame) |
453 { | 454 { |
454 if (m_mainFrame == frame) { | 455 if (m_mainFrame == frame) { |
| 456 frameHost().consoleMessageStorage().clear(); |
455 useCounter().didCommitLoad(); | 457 useCounter().didCommitLoad(); |
456 deprecation().clearSuppression(); | 458 deprecation().clearSuppression(); |
457 frameHost().visualViewport().sendUMAMetrics(); | 459 frameHost().visualViewport().sendUMAMetrics(); |
458 m_hostsUsingFeatures.updateMeasurementsAndClear(); | 460 m_hostsUsingFeatures.updateMeasurementsAndClear(); |
459 UserGestureIndicator::clearProcessedUserGestureSinceLoad(); | 461 UserGestureIndicator::clearProcessedUserGestureSinceLoad(); |
460 } | 462 } |
461 } | 463 } |
462 | 464 |
463 void Page::acceptLanguagesChanged() | 465 void Page::acceptLanguagesChanged() |
464 { | 466 { |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 { | 548 { |
547 } | 549 } |
548 | 550 |
549 Page::PageClients::~PageClients() | 551 Page::PageClients::~PageClients() |
550 { | 552 { |
551 } | 553 } |
552 | 554 |
553 template class CORE_TEMPLATE_EXPORT Supplement<Page>; | 555 template class CORE_TEMPLATE_EXPORT Supplement<Page>; |
554 | 556 |
555 } // namespace blink | 557 } // namespace blink |
OLD | NEW |