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

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

Issue 986583002: Collect host of Web Component usage to send to RAPPOR (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 m_mainFrame = mainFrame; 208 m_mainFrame = mainFrame;
209 } 209 }
210 210
211 void Page::documentDetached(Document* document) 211 void Page::documentDetached(Document* document)
212 { 212 {
213 m_multisamplingChangedObservers.clear(); 213 m_multisamplingChangedObservers.clear();
214 m_pointerLockController->documentDetached(document); 214 m_pointerLockController->documentDetached(document);
215 m_contextMenuController->documentDetached(document); 215 m_contextMenuController->documentDetached(document);
216 if (m_validationMessageClient) 216 if (m_validationMessageClient)
217 m_validationMessageClient->documentDetached(*document); 217 m_validationMessageClient->documentDetached(*document);
218 m_useCounter.useByOriginCounter().documentDetached(*document);
218 } 219 }
219 220
220 bool Page::openedByDOM() const 221 bool Page::openedByDOM() const
221 { 222 {
222 return m_openedByDOM; 223 return m_openedByDOM;
223 } 224 }
224 225
225 void Page::setOpenedByDOM() 226 void Page::setOpenedByDOM()
226 { 227 {
227 m_openedByDOM = true; 228 m_openedByDOM = true;
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 , inspectorClient(nullptr) 617 , inspectorClient(nullptr)
617 , spellCheckerClient(nullptr) 618 , spellCheckerClient(nullptr)
618 { 619 {
619 } 620 }
620 621
621 Page::PageClients::~PageClients() 622 Page::PageClients::~PageClients()
622 { 623 {
623 } 624 }
624 625
625 } // namespace blink 626 } // namespace blink
OLDNEW
« Source/core/frame/UseByOriginCounter.cpp ('K') | « Source/core/frame/UseCounter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698