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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 m_mainFrame = mainFrame; | 199 m_mainFrame = mainFrame; |
199 } | 200 } |
200 | 201 |
201 void Page::documentDetached(Document* document) | 202 void Page::documentDetached(Document* document) |
202 { | 203 { |
203 m_multisamplingChangedObservers.clear(); | 204 m_multisamplingChangedObservers.clear(); |
204 m_pointerLockController->documentDetached(document); | 205 m_pointerLockController->documentDetached(document); |
205 m_contextMenuController->documentDetached(document); | 206 m_contextMenuController->documentDetached(document); |
206 if (m_validationMessageClient) | 207 if (m_validationMessageClient) |
207 m_validationMessageClient->documentDetached(*document); | 208 m_validationMessageClient->documentDetached(*document); |
| 209 EventHandlerRegistry::from(*this)->documentDetached(*document); |
208 } | 210 } |
209 | 211 |
210 bool Page::openedByDOM() const | 212 bool Page::openedByDOM() const |
211 { | 213 { |
212 return m_openedByDOM; | 214 return m_openedByDOM; |
213 } | 215 } |
214 | 216 |
215 void Page::setOpenedByDOM() | 217 void Page::setOpenedByDOM() |
216 { | 218 { |
217 m_openedByDOM = true; | 219 m_openedByDOM = true; |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
582 , spellCheckerClient(0) | 584 , spellCheckerClient(0) |
583 , storageClient(0) | 585 , storageClient(0) |
584 { | 586 { |
585 } | 587 } |
586 | 588 |
587 Page::PageClients::~PageClients() | 589 Page::PageClients::~PageClients() |
588 { | 590 { |
589 } | 591 } |
590 | 592 |
591 } // namespace WebCore | 593 } // namespace WebCore |
OLD | NEW |