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 29 matching lines...) Expand all Loading... |
40 #include "core/editing/SpellChecker.h" | 40 #include "core/editing/SpellChecker.h" |
41 #include "core/editing/htmlediting.h" | 41 #include "core/editing/htmlediting.h" |
42 #include "core/editing/markup.h" | 42 #include "core/editing/markup.h" |
43 #include "core/events/Event.h" | 43 #include "core/events/Event.h" |
44 #include "core/fetch/ResourceFetcher.h" | 44 #include "core/fetch/ResourceFetcher.h" |
45 #include "core/frame/DOMWindow.h" | 45 #include "core/frame/DOMWindow.h" |
46 #include "core/frame/FrameDestructionObserver.h" | 46 #include "core/frame/FrameDestructionObserver.h" |
47 #include "core/frame/FrameHost.h" | 47 #include "core/frame/FrameHost.h" |
48 #include "core/frame/FrameView.h" | 48 #include "core/frame/FrameView.h" |
49 #include "core/frame/Settings.h" | 49 #include "core/frame/Settings.h" |
50 #include "core/frame/animation/AnimationController.h" | |
51 #include "core/html/HTMLFrameElementBase.h" | 50 #include "core/html/HTMLFrameElementBase.h" |
52 #include "core/inspector/InspectorInstrumentation.h" | 51 #include "core/inspector/InspectorInstrumentation.h" |
53 #include "core/loader/EmptyClients.h" | 52 #include "core/loader/EmptyClients.h" |
54 #include "core/loader/FrameLoaderClient.h" | 53 #include "core/loader/FrameLoaderClient.h" |
55 #include "core/page/Chrome.h" | 54 #include "core/page/Chrome.h" |
56 #include "core/page/ChromeClient.h" | 55 #include "core/page/ChromeClient.h" |
57 #include "core/page/EventHandler.h" | 56 #include "core/page/EventHandler.h" |
58 #include "core/page/FocusController.h" | 57 #include "core/page/FocusController.h" |
59 #include "core/page/Page.h" | 58 #include "core/page/Page.h" |
60 #include "core/page/scrolling/ScrollingCoordinator.h" | 59 #include "core/page/scrolling/ScrollingCoordinator.h" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 inline Frame::Frame(PassRefPtr<FrameInit> frameInit) | 104 inline Frame::Frame(PassRefPtr<FrameInit> frameInit) |
106 : m_host(frameInit->frameHost()) | 105 : m_host(frameInit->frameHost()) |
107 , m_treeNode(this, parentFromOwnerElement(frameInit->ownerElement())) | 106 , m_treeNode(this, parentFromOwnerElement(frameInit->ownerElement())) |
108 , m_loader(this, frameInit->frameLoaderClient()) | 107 , m_loader(this, frameInit->frameLoaderClient()) |
109 , m_navigationScheduler(this) | 108 , m_navigationScheduler(this) |
110 , m_script(adoptPtr(new ScriptController(this))) | 109 , m_script(adoptPtr(new ScriptController(this))) |
111 , m_editor(Editor::create(*this)) | 110 , m_editor(Editor::create(*this)) |
112 , m_spellChecker(SpellChecker::create(*this)) | 111 , m_spellChecker(SpellChecker::create(*this)) |
113 , m_selection(adoptPtr(new FrameSelection(this))) | 112 , m_selection(adoptPtr(new FrameSelection(this))) |
114 , m_eventHandler(adoptPtr(new EventHandler(this))) | 113 , m_eventHandler(adoptPtr(new EventHandler(this))) |
115 , m_animationController(adoptPtr(new AnimationController(this))) | |
116 , m_inputMethodController(InputMethodController::create(*this)) | 114 , m_inputMethodController(InputMethodController::create(*this)) |
117 , m_frameInit(frameInit) | 115 , m_frameInit(frameInit) |
118 , m_pageZoomFactor(parentPageZoomFactor(this)) | 116 , m_pageZoomFactor(parentPageZoomFactor(this)) |
119 , m_textZoomFactor(parentTextZoomFactor(this)) | 117 , m_textZoomFactor(parentTextZoomFactor(this)) |
120 , m_orientation(0) | 118 , m_orientation(0) |
121 , m_inViewSourceMode(false) | 119 , m_inViewSourceMode(false) |
122 , m_remotePlatformLayer(0) | 120 , m_remotePlatformLayer(0) |
123 { | 121 { |
124 ASSERT(page()); | 122 ASSERT(page()); |
125 | 123 |
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 { | 733 { |
736 if (!m_host) | 734 if (!m_host) |
737 return 0; | 735 return 0; |
738 | 736 |
739 double ratio = m_host->deviceScaleFactor(); | 737 double ratio = m_host->deviceScaleFactor(); |
740 ratio *= pageZoomFactor(); | 738 ratio *= pageZoomFactor(); |
741 return ratio; | 739 return ratio; |
742 } | 740 } |
743 | 741 |
744 } // namespace WebCore | 742 } // namespace WebCore |
OLD | NEW |