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

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: all tests pass Created 4 years, 6 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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 continue; 449 continue;
450 if (FrameView* view = toLocalFrame(frame)->view()) 450 if (FrameView* view = toLocalFrame(frame)->view())
451 view->updateAcceleratedCompositingSettings(); 451 view->updateAcceleratedCompositingSettings();
452 } 452 }
453 } 453 }
454 454
455 void Page::didCommitLoad(LocalFrame* frame) 455 void Page::didCommitLoad(LocalFrame* frame)
456 { 456 {
457 notifyDidCommitLoad(frame); 457 notifyDidCommitLoad(frame);
458 if (m_mainFrame == frame) { 458 if (m_mainFrame == frame) {
459 frame->console().clearMessages();
460 useCounter().didCommitLoad(); 459 useCounter().didCommitLoad();
461 deprecation().clearSuppression(); 460 deprecation().clearSuppression();
462 frameHost().visualViewport().sendUMAMetrics(); 461 frameHost().visualViewport().sendUMAMetrics();
463 m_hostsUsingFeatures.updateMeasurementsAndClear(); 462 m_hostsUsingFeatures.updateMeasurementsAndClear();
464 UserGestureIndicator::clearProcessedUserGestureSinceLoad(); 463 UserGestureIndicator::clearProcessedUserGestureSinceLoad();
465 } 464 }
466 } 465 }
467 466
468 void Page::acceptLanguagesChanged() 467 void Page::acceptLanguagesChanged()
469 { 468 {
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 { 559 {
561 } 560 }
562 561
563 Page::PageClients::~PageClients() 562 Page::PageClients::~PageClients()
564 { 563 {
565 } 564 }
566 565
567 template class CORE_TEMPLATE_EXPORT Supplement<Page>; 566 template class CORE_TEMPLATE_EXPORT Supplement<Page>;
568 567
569 } // namespace blink 568 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698