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

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

Issue 2035653006: [DevTools] Move Console to v8 inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: improved api a bit 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 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 continue; 433 continue;
434 if (FrameView* view = toLocalFrame(frame)->view()) 434 if (FrameView* view = toLocalFrame(frame)->view())
435 view->updateAcceleratedCompositingSettings(); 435 view->updateAcceleratedCompositingSettings();
436 } 436 }
437 } 437 }
438 438
439 void Page::didCommitLoad(LocalFrame* frame) 439 void Page::didCommitLoad(LocalFrame* frame)
440 { 440 {
441 notifyDidCommitLoad(frame); 441 notifyDidCommitLoad(frame);
442 if (m_mainFrame == frame) { 442 if (m_mainFrame == frame) {
443 frame->console().clearMessages();
444 useCounter().didCommitLoad(); 443 useCounter().didCommitLoad();
445 deprecation().clearSuppression(); 444 deprecation().clearSuppression();
446 frameHost().visualViewport().sendUMAMetrics(); 445 frameHost().visualViewport().sendUMAMetrics();
447 m_hostsUsingFeatures.updateMeasurementsAndClear(); 446 m_hostsUsingFeatures.updateMeasurementsAndClear();
448 UserGestureIndicator::clearProcessedUserGestureSinceLoad(); 447 UserGestureIndicator::clearProcessedUserGestureSinceLoad();
449 } 448 }
450 } 449 }
451 450
452 void Page::acceptLanguagesChanged() 451 void Page::acceptLanguagesChanged()
453 { 452 {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 { 535 {
537 } 536 }
538 537
539 Page::PageClients::~PageClients() 538 Page::PageClients::~PageClients()
540 { 539 {
541 } 540 }
542 541
543 template class CORE_TEMPLATE_EXPORT Supplement<Page>; 542 template class CORE_TEMPLATE_EXPORT Supplement<Page>;
544 543
545 } // namespace blink 544 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/ChromeClient.h ('k') | third_party/WebKit/Source/core/testing/Internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698