| 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 "sky/engine/config.h" | |
| 31 #include "sky/engine/core/frame/Frame.h" | 30 #include "sky/engine/core/frame/Frame.h" |
| 32 | 31 |
| 33 #include "sky/engine/core/events/Event.h" | 32 #include "sky/engine/core/events/Event.h" |
| 34 #include "sky/engine/core/frame/FrameHost.h" | 33 #include "sky/engine/core/frame/FrameHost.h" |
| 35 #include "sky/engine/core/frame/LocalDOMWindow.h" | 34 #include "sky/engine/core/frame/LocalDOMWindow.h" |
| 36 #include "sky/engine/core/frame/Settings.h" | 35 #include "sky/engine/core/frame/Settings.h" |
| 37 #include "sky/engine/core/loader/EmptyClients.h" | 36 #include "sky/engine/core/loader/EmptyClients.h" |
| 38 #include "sky/engine/core/loader/FrameLoaderClient.h" | 37 #include "sky/engine/core/loader/FrameLoaderClient.h" |
| 39 #include "sky/engine/core/page/ChromeClient.h" | 38 #include "sky/engine/core/page/ChromeClient.h" |
| 40 #include "sky/engine/core/page/EventHandler.h" | 39 #include "sky/engine/core/page/EventHandler.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 } | 95 } |
| 97 | 96 |
| 98 void Frame::setDOMWindow(PassRefPtr<LocalDOMWindow> domWindow) | 97 void Frame::setDOMWindow(PassRefPtr<LocalDOMWindow> domWindow) |
| 99 { | 98 { |
| 100 if (m_domWindow) | 99 if (m_domWindow) |
| 101 m_domWindow->reset(); | 100 m_domWindow->reset(); |
| 102 m_domWindow = domWindow; | 101 m_domWindow = domWindow; |
| 103 } | 102 } |
| 104 | 103 |
| 105 } // namespace blink | 104 } // namespace blink |
| OLD | NEW |