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

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

Issue 2284503002: Minor UseCounter clean-ups (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix dependency Created 4 years, 3 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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.cpp ('k') | third_party/WebKit/Source/core/workers/WorkerGlobalScope.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698