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

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

Issue 1358173008: Add UMA stats for pinch-zoom behavior on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 view->updateAcceleratedCompositingSettings(); 506 view->updateAcceleratedCompositingSettings();
507 } 507 }
508 } 508 }
509 509
510 void Page::didCommitLoad(LocalFrame* frame) 510 void Page::didCommitLoad(LocalFrame* frame)
511 { 511 {
512 notifyDidCommitLoad(frame); 512 notifyDidCommitLoad(frame);
513 if (m_mainFrame == frame) { 513 if (m_mainFrame == frame) {
514 frame->console().clearMessages(); 514 frame->console().clearMessages();
515 useCounter().didCommitLoad(); 515 useCounter().didCommitLoad();
516 frameHost().visualViewport().sendUMAMetrics();
516 m_originsUsingFeatures.updateMeasurementsAndClear(); 517 m_originsUsingFeatures.updateMeasurementsAndClear();
517 UserGestureIndicator::clearProcessedUserGestureSinceLoad(); 518 UserGestureIndicator::clearProcessedUserGestureSinceLoad();
518 } 519 }
519 } 520 }
520 521
521 void Page::acceptLanguagesChanged() 522 void Page::acceptLanguagesChanged()
522 { 523 {
523 WillBeHeapVector<RefPtrWillBeMember<LocalFrame>> frames; 524 WillBeHeapVector<RefPtrWillBeMember<LocalFrame>> frames;
524 525
525 // Even though we don't fire an event from here, the LocalDOMWindow's will f ire 526 // Even though we don't fire an event from here, the LocalDOMWindow's will f ire
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 { 603 {
603 } 604 }
604 605
605 Page::PageClients::~PageClients() 606 Page::PageClients::~PageClients()
606 { 607 {
607 } 608 }
608 609
609 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; 610 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>;
610 611
611 } // namespace blink 612 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698