| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 4 * Copyright (C) 2012, Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2012, Samsung Electronics. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| 11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
| 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
| 15 * | 15 * |
| 16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
| 17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
| 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 #include "config.h" | 22 #include "sky/engine/config.h" |
| 23 #include "core/page/Chrome.h" | 23 #include "sky/engine/core/page/Chrome.h" |
| 24 | 24 |
| 25 #include "core/dom/Document.h" | 25 #include "sky/engine/core/dom/Document.h" |
| 26 #include "core/frame/LocalFrame.h" | 26 #include "sky/engine/core/frame/LocalFrame.h" |
| 27 #include "core/page/ChromeClient.h" | 27 #include "sky/engine/core/page/ChromeClient.h" |
| 28 #include "core/page/Page.h" | 28 #include "sky/engine/core/page/Page.h" |
| 29 #include "core/rendering/HitTestResult.h" | 29 #include "sky/engine/core/rendering/HitTestResult.h" |
| 30 #include "platform/Logging.h" | 30 #include "sky/engine/platform/Logging.h" |
| 31 #include "platform/geometry/FloatRect.h" | 31 #include "sky/engine/platform/geometry/FloatRect.h" |
| 32 #include "public/platform/WebScreenInfo.h" | 32 #include "sky/engine/public/platform/WebScreenInfo.h" |
| 33 #include "wtf/PassRefPtr.h" | 33 #include "sky/engine/wtf/PassRefPtr.h" |
| 34 #include "wtf/Vector.h" | 34 #include "sky/engine/wtf/Vector.h" |
| 35 | 35 |
| 36 namespace blink { | 36 namespace blink { |
| 37 | 37 |
| 38 Chrome::Chrome(Page* page, ChromeClient* client) | 38 Chrome::Chrome(Page* page, ChromeClient* client) |
| 39 : m_page(page) | 39 : m_page(page) |
| 40 , m_client(client) | 40 , m_client(client) |
| 41 { | 41 { |
| 42 ASSERT(m_client); | 42 ASSERT(m_client); |
| 43 } | 43 } |
| 44 | 44 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 m_page->animator().setAnimationFramePending(); | 140 m_page->animator().setAnimationFramePending(); |
| 141 m_client->scheduleAnimation(); | 141 m_client->scheduleAnimation(); |
| 142 } | 142 } |
| 143 | 143 |
| 144 void Chrome::willBeDestroyed() | 144 void Chrome::willBeDestroyed() |
| 145 { | 145 { |
| 146 m_client->chromeDestroyed(); | 146 m_client->chromeDestroyed(); |
| 147 } | 147 } |
| 148 | 148 |
| 149 } // namespace blink | 149 } // namespace blink |
| OLD | NEW |