OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |