| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
| 3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
| 4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000 Simon Hausmann <hausmann@kde.org> | 5 * 2000 Simon Hausmann <hausmann@kde.org> |
| 6 * 2000 Stefan Schimanski <1Stein@gmx.de> | 6 * 2000 Stefan Schimanski <1Stein@gmx.de> |
| 7 * 2001 George Staikos <staikos@kde.org> | 7 * 2001 George Staikos <staikos@kde.org> |
| 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
| 9 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> | 9 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> |
| 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 * | 23 * |
| 24 * You should have received a copy of the GNU Library General Public License | 24 * You should have received a copy of the GNU Library General Public License |
| 25 * along with this library; see the file COPYING.LIB. If not, write to | 25 * along with this library; see the file COPYING.LIB. If not, write to |
| 26 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 26 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 27 * Boston, MA 02110-1301, USA. | 27 * Boston, MA 02110-1301, USA. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #include "config.h" | 30 #include "config.h" |
| 31 #include "core/frame/LocalFrame.h" | 31 #include "core/frame/LocalFrame.h" |
| 32 | 32 |
| 33 #include "RuntimeEnabledFeatures.h" | |
| 34 #include "bindings/v8/ScriptController.h" | 33 #include "bindings/v8/ScriptController.h" |
| 35 #include "core/dom/DocumentType.h" | 34 #include "core/dom/DocumentType.h" |
| 36 #include "core/editing/Editor.h" | 35 #include "core/editing/Editor.h" |
| 37 #include "core/editing/FrameSelection.h" | 36 #include "core/editing/FrameSelection.h" |
| 38 #include "core/editing/InputMethodController.h" | 37 #include "core/editing/InputMethodController.h" |
| 39 #include "core/editing/SpellChecker.h" | 38 #include "core/editing/SpellChecker.h" |
| 40 #include "core/editing/htmlediting.h" | 39 #include "core/editing/htmlediting.h" |
| 41 #include "core/editing/markup.h" | 40 #include "core/editing/markup.h" |
| 42 #include "core/events/Event.h" | 41 #include "core/events/Event.h" |
| 43 #include "core/fetch/ResourceFetcher.h" | 42 #include "core/fetch/ResourceFetcher.h" |
| 44 #include "core/frame/DOMWindow.h" | 43 #include "core/frame/DOMWindow.h" |
| 45 #include "core/frame/EventHandlerRegistry.h" | 44 #include "core/frame/EventHandlerRegistry.h" |
| 46 #include "core/frame/FrameConsole.h" | 45 #include "core/frame/FrameConsole.h" |
| 47 #include "core/frame/FrameHost.h" | 46 #include "core/frame/FrameHost.h" |
| 48 #include "core/frame/FrameView.h" | 47 #include "core/frame/FrameView.h" |
| 49 #include "core/frame/Settings.h" | 48 #include "core/frame/Settings.h" |
| 50 #include "core/html/HTMLFrameElementBase.h" | 49 #include "core/html/HTMLFrameElementBase.h" |
| 51 #include "core/inspector/InspectorInstrumentation.h" | 50 #include "core/inspector/InspectorInstrumentation.h" |
| 52 #include "core/loader/FrameLoaderClient.h" | 51 #include "core/loader/FrameLoaderClient.h" |
| 53 #include "core/page/Chrome.h" | 52 #include "core/page/Chrome.h" |
| 54 #include "core/page/EventHandler.h" | 53 #include "core/page/EventHandler.h" |
| 55 #include "core/page/FocusController.h" | 54 #include "core/page/FocusController.h" |
| 56 #include "core/page/scrolling/ScrollingCoordinator.h" | 55 #include "core/page/scrolling/ScrollingCoordinator.h" |
| 57 #include "core/rendering/HitTestResult.h" | 56 #include "core/rendering/HitTestResult.h" |
| 58 #include "core/rendering/RenderLayer.h" | 57 #include "core/rendering/RenderLayer.h" |
| 59 #include "core/rendering/RenderView.h" | 58 #include "core/rendering/RenderView.h" |
| 60 #include "core/rendering/compositing/RenderLayerCompositor.h" | 59 #include "core/rendering/compositing/RenderLayerCompositor.h" |
| 61 #include "core/svg/SVGDocumentExtensions.h" | 60 #include "core/svg/SVGDocumentExtensions.h" |
| 62 #include "platform/DragImage.h" | 61 #include "platform/DragImage.h" |
| 62 #include "platform/RuntimeEnabledFeatures.h" |
| 63 #include "platform/graphics/GraphicsContext.h" | 63 #include "platform/graphics/GraphicsContext.h" |
| 64 #include "platform/graphics/ImageBuffer.h" | 64 #include "platform/graphics/ImageBuffer.h" |
| 65 #include "platform/text/TextStream.h" | 65 #include "platform/text/TextStream.h" |
| 66 #include "wtf/PassOwnPtr.h" | 66 #include "wtf/PassOwnPtr.h" |
| 67 #include "wtf/StdLibExtras.h" | 67 #include "wtf/StdLibExtras.h" |
| 68 | 68 |
| 69 using namespace std; | 69 using namespace std; |
| 70 | 70 |
| 71 namespace WebCore { | 71 namespace WebCore { |
| 72 | 72 |
| (...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 656 LocalFrame* LocalFrame::localFrameRoot() | 656 LocalFrame* LocalFrame::localFrameRoot() |
| 657 { | 657 { |
| 658 LocalFrame* curFrame = this; | 658 LocalFrame* curFrame = this; |
| 659 while (curFrame && curFrame->tree().parent() && curFrame->tree().parent()->i
sLocalFrame()) | 659 while (curFrame && curFrame->tree().parent() && curFrame->tree().parent()->i
sLocalFrame()) |
| 660 curFrame = toLocalFrame(curFrame->tree().parent()); | 660 curFrame = toLocalFrame(curFrame->tree().parent()); |
| 661 | 661 |
| 662 return curFrame; | 662 return curFrame; |
| 663 } | 663 } |
| 664 | 664 |
| 665 } // namespace WebCore | 665 } // namespace WebCore |
| OLD | NEW |