| 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 |
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 * Library General Public License for more details. | 12 * Library General Public License for more details. |
| 13 * | 13 * |
| 14 * You should have received a copy of the GNU Library General Public License | 14 * You should have received a copy of the GNU Library General Public License |
| 15 * along with this library; see the file COPYING.LIB. If not, write to | 15 * along with this library; see the file COPYING.LIB. If not, write to |
| 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 17 * Boston, MA 02110-1301, USA. | 17 * Boston, MA 02110-1301, USA. |
| 18 */ | 18 */ |
| 19 | 19 |
| 20 #include "config.h" | 20 #include "sky/engine/config.h" |
| 21 #include "core/page/Page.h" | 21 #include "sky/engine/core/page/Page.h" |
| 22 | 22 |
| 23 #include "core/dom/ClientRectList.h" | 23 #include "sky/engine/core/dom/ClientRectList.h" |
| 24 #include "core/dom/DocumentMarkerController.h" | 24 #include "sky/engine/core/dom/DocumentMarkerController.h" |
| 25 #include "core/dom/StyleEngine.h" | 25 #include "sky/engine/core/dom/StyleEngine.h" |
| 26 #include "core/editing/Caret.h" | 26 #include "sky/engine/core/editing/Caret.h" |
| 27 #include "core/editing/UndoStack.h" | 27 #include "sky/engine/core/editing/UndoStack.h" |
| 28 #include "core/events/Event.h" | 28 #include "sky/engine/core/events/Event.h" |
| 29 #include "core/fetch/ResourceFetcher.h" | 29 #include "sky/engine/core/fetch/ResourceFetcher.h" |
| 30 #include "core/frame/DOMTimer.h" | 30 #include "sky/engine/core/frame/DOMTimer.h" |
| 31 #include "core/frame/FrameConsole.h" | 31 #include "sky/engine/core/frame/FrameConsole.h" |
| 32 #include "core/frame/FrameHost.h" | 32 #include "sky/engine/core/frame/FrameHost.h" |
| 33 #include "core/frame/FrameView.h" | 33 #include "sky/engine/core/frame/FrameView.h" |
| 34 #include "core/frame/LocalDOMWindow.h" | 34 #include "sky/engine/core/frame/LocalDOMWindow.h" |
| 35 #include "core/frame/LocalFrame.h" | 35 #include "sky/engine/core/frame/LocalFrame.h" |
| 36 #include "core/frame/Settings.h" | 36 #include "sky/engine/core/frame/Settings.h" |
| 37 #include "core/page/AutoscrollController.h" | 37 #include "sky/engine/core/page/AutoscrollController.h" |
| 38 #include "core/page/Chrome.h" | 38 #include "sky/engine/core/page/Chrome.h" |
| 39 #include "core/page/ChromeClient.h" | 39 #include "sky/engine/core/page/ChromeClient.h" |
| 40 #include "core/page/FocusController.h" | 40 #include "sky/engine/core/page/FocusController.h" |
| 41 #include "core/page/PageLifecycleNotifier.h" | 41 #include "sky/engine/core/page/PageLifecycleNotifier.h" |
| 42 #include "core/rendering/RenderView.h" | 42 #include "sky/engine/core/rendering/RenderView.h" |
| 43 #include "wtf/HashMap.h" | 43 #include "sky/engine/wtf/HashMap.h" |
| 44 #include "wtf/RefCountedLeakCounter.h" | 44 #include "sky/engine/wtf/RefCountedLeakCounter.h" |
| 45 #include "wtf/StdLibExtras.h" | 45 #include "sky/engine/wtf/StdLibExtras.h" |
| 46 #include "wtf/text/Base64.h" | 46 #include "sky/engine/wtf/text/Base64.h" |
| 47 | 47 |
| 48 namespace blink { | 48 namespace blink { |
| 49 | 49 |
| 50 DEFINE_DEBUG_ONLY_GLOBAL(WTF::RefCountedLeakCounter, pageCounter, ("Page")); | 50 DEFINE_DEBUG_ONLY_GLOBAL(WTF::RefCountedLeakCounter, pageCounter, ("Page")); |
| 51 | 51 |
| 52 float deviceScaleFactor(LocalFrame* frame) | 52 float deviceScaleFactor(LocalFrame* frame) |
| 53 { | 53 { |
| 54 if (!frame) | 54 if (!frame) |
| 55 return 1; | 55 return 1; |
| 56 Page* page = frame->page(); | 56 Page* page = frame->page(); |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 , editorClient(0) | 299 , editorClient(0) |
| 300 , spellCheckerClient(0) | 300 , spellCheckerClient(0) |
| 301 { | 301 { |
| 302 } | 302 } |
| 303 | 303 |
| 304 Page::PageClients::~PageClients() | 304 Page::PageClients::~PageClients() |
| 305 { | 305 { |
| 306 } | 306 } |
| 307 | 307 |
| 308 } // namespace blink | 308 } // namespace blink |
| OLD | NEW |