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 25 matching lines...) Expand all Loading... |
36 #include "core/frame/Settings.h" | 36 #include "core/frame/Settings.h" |
37 #include "core/inspector/InspectorController.h" | 37 #include "core/inspector/InspectorController.h" |
38 #include "core/inspector/InspectorInstrumentation.h" | 38 #include "core/inspector/InspectorInstrumentation.h" |
39 #include "core/loader/FrameLoader.h" | 39 #include "core/loader/FrameLoader.h" |
40 #include "core/loader/HistoryItem.h" | 40 #include "core/loader/HistoryItem.h" |
41 #include "core/page/AutoscrollController.h" | 41 #include "core/page/AutoscrollController.h" |
42 #include "core/page/Chrome.h" | 42 #include "core/page/Chrome.h" |
43 #include "core/page/ChromeClient.h" | 43 #include "core/page/ChromeClient.h" |
44 #include "core/page/ContextMenuController.h" | 44 #include "core/page/ContextMenuController.h" |
45 #include "core/page/DragController.h" | 45 #include "core/page/DragController.h" |
| 46 #include "core/page/EventHandlerRegistry.h" |
46 #include "core/page/FocusController.h" | 47 #include "core/page/FocusController.h" |
47 #include "core/page/FrameTree.h" | 48 #include "core/page/FrameTree.h" |
48 #include "core/page/PageLifecycleNotifier.h" | 49 #include "core/page/PageLifecycleNotifier.h" |
49 #include "core/page/PointerLockController.h" | 50 #include "core/page/PointerLockController.h" |
50 #include "core/page/StorageClient.h" | 51 #include "core/page/StorageClient.h" |
51 #include "core/page/ValidationMessageClient.h" | 52 #include "core/page/ValidationMessageClient.h" |
52 #include "core/page/scrolling/ScrollingCoordinator.h" | 53 #include "core/page/scrolling/ScrollingCoordinator.h" |
53 #include "core/rendering/FastTextAutosizer.h" | 54 #include "core/rendering/FastTextAutosizer.h" |
54 #include "core/rendering/RenderView.h" | 55 #include "core/rendering/RenderView.h" |
55 #include "core/rendering/TextAutosizer.h" | 56 #include "core/rendering/TextAutosizer.h" |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 m_mainFrame = mainFrame; | 198 m_mainFrame = mainFrame; |
198 } | 199 } |
199 | 200 |
200 void Page::documentDetached(Document* document) | 201 void Page::documentDetached(Document* document) |
201 { | 202 { |
202 m_multisamplingChangedObservers.clear(); | 203 m_multisamplingChangedObservers.clear(); |
203 m_pointerLockController->documentDetached(document); | 204 m_pointerLockController->documentDetached(document); |
204 m_contextMenuController->documentDetached(document); | 205 m_contextMenuController->documentDetached(document); |
205 if (m_validationMessageClient) | 206 if (m_validationMessageClient) |
206 m_validationMessageClient->documentDetached(*document); | 207 m_validationMessageClient->documentDetached(*document); |
| 208 EventHandlerRegistry::from(*this)->documentDetached(*document); |
207 } | 209 } |
208 | 210 |
209 bool Page::openedByDOM() const | 211 bool Page::openedByDOM() const |
210 { | 212 { |
211 return m_openedByDOM; | 213 return m_openedByDOM; |
212 } | 214 } |
213 | 215 |
214 void Page::setOpenedByDOM() | 216 void Page::setOpenedByDOM() |
215 { | 217 { |
216 m_openedByDOM = true; | 218 m_openedByDOM = true; |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
580 , spellCheckerClient(0) | 582 , spellCheckerClient(0) |
581 , storageClient(0) | 583 , storageClient(0) |
582 { | 584 { |
583 } | 585 } |
584 | 586 |
585 Page::PageClients::~PageClients() | 587 Page::PageClients::~PageClients() |
586 { | 588 { |
587 } | 589 } |
588 | 590 |
589 } // namespace WebCore | 591 } // namespace WebCore |
OLD | NEW |