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) |
11 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 11 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
12 * Copyright (C) 2008 Google Inc. | 12 * Copyright (C) 2008 Google Inc. |
13 * | 13 * |
14 * This library is free software; you can redistribute it and/or | 14 * This library is free software; you can redistribute it and/or |
15 * modify it under the terms of the GNU Library General Public | 15 * modify it under the terms of the GNU Library General Public |
16 * License as published by the Free Software Foundation; either | 16 * License as published by the Free Software Foundation; either |
17 * version 2 of the License, or (at your option) any later version. | 17 * version 2 of the License, or (at your option) any later version. |
18 * | 18 * |
19 * This library is distributed in the hope that it will be useful, | 19 * This library is distributed in the hope that it will be useful, |
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 20 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
22 * Library General Public License for more details. | 22 * Library General Public License for more details. |
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" | |
31 #include "core/frame/Frame.h" | 30 #include "core/frame/Frame.h" |
32 | 31 |
33 #include "core/dom/DocumentType.h" | 32 #include "core/dom/DocumentType.h" |
34 #include "core/events/Event.h" | 33 #include "core/events/Event.h" |
35 #include "core/frame/LocalDOMWindow.h" | 34 #include "core/frame/LocalDOMWindow.h" |
36 #include "core/frame/FrameHost.h" | 35 #include "core/frame/FrameHost.h" |
37 #include "core/frame/Settings.h" | 36 #include "core/frame/Settings.h" |
38 #include "core/html/HTMLFrameElementBase.h" | 37 #include "core/html/HTMLFrameElementBase.h" |
39 #include "core/input/EventHandler.h" | 38 #include "core/input/EventHandler.h" |
40 #include "core/inspector/InspectorInstrumentation.h" | 39 #include "core/inspector/InspectorInstrumentation.h" |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 | 305 |
307 if (m_owner) { | 306 if (m_owner) { |
308 if (m_owner->isLocal()) | 307 if (m_owner->isLocal()) |
309 toHTMLFrameOwnerElement(m_owner)->setContentFrame(*this); | 308 toHTMLFrameOwnerElement(m_owner)->setContentFrame(*this); |
310 } else { | 309 } else { |
311 page()->setMainFrame(this); | 310 page()->setMainFrame(this); |
312 } | 311 } |
313 } | 312 } |
314 | 313 |
315 } // namespace blink | 314 } // namespace blink |
OLD | NEW |