Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: third_party/WebKit/Source/core/page/Page.cpp

Issue 2151273003: [DevTools] Move browser logging from Console domain to Log domain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@internals-method
Patch Set: protocol improvements Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698