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 27 matching lines...) Expand all Loading... |
38 #include "core/editing/Editor.h" | 38 #include "core/editing/Editor.h" |
39 #include "core/editing/FrameSelection.h" | 39 #include "core/editing/FrameSelection.h" |
40 #include "core/editing/InputMethodController.h" | 40 #include "core/editing/InputMethodController.h" |
41 #include "core/editing/SpellChecker.h" | 41 #include "core/editing/SpellChecker.h" |
42 #include "core/editing/htmlediting.h" | 42 #include "core/editing/htmlediting.h" |
43 #include "core/editing/markup.h" | 43 #include "core/editing/markup.h" |
44 #include "core/fetch/ResourceFetcher.h" | 44 #include "core/fetch/ResourceFetcher.h" |
45 #include "core/html/HTMLFrameElementBase.h" | 45 #include "core/html/HTMLFrameElementBase.h" |
46 #include "core/inspector/InspectorInstrumentation.h" | 46 #include "core/inspector/InspectorInstrumentation.h" |
47 #include "core/loader/EmptyClients.h" | 47 #include "core/loader/EmptyClients.h" |
48 #include "core/loader/FrameLoader.h" | |
49 #include "core/loader/FrameLoaderClient.h" | 48 #include "core/loader/FrameLoaderClient.h" |
50 #include "core/page/Chrome.h" | 49 #include "core/page/Chrome.h" |
51 #include "core/page/ChromeClient.h" | 50 #include "core/page/ChromeClient.h" |
52 #include "core/frame/DOMWindow.h" | 51 #include "core/frame/DOMWindow.h" |
53 #include "core/page/EventHandler.h" | 52 #include "core/page/EventHandler.h" |
54 #include "core/page/FocusController.h" | 53 #include "core/page/FocusController.h" |
55 #include "core/frame/FrameDestructionObserver.h" | 54 #include "core/frame/FrameDestructionObserver.h" |
56 #include "core/frame/FrameView.h" | 55 #include "core/frame/FrameView.h" |
57 #include "core/page/Page.h" | 56 #include "core/page/Page.h" |
58 #include "core/page/Settings.h" | 57 #include "core/page/Settings.h" |
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 if (!m_page) | 694 if (!m_page) |
696 return 0; | 695 return 0; |
697 | 696 |
698 double ratio = m_page->deviceScaleFactor(); | 697 double ratio = m_page->deviceScaleFactor(); |
699 if (RuntimeEnabledFeatures::devicePixelRatioIncludesZoomEnabled()) | 698 if (RuntimeEnabledFeatures::devicePixelRatioIncludesZoomEnabled()) |
700 ratio *= pageZoomFactor(); | 699 ratio *= pageZoomFactor(); |
701 return ratio; | 700 return ratio; |
702 } | 701 } |
703 | 702 |
704 } // namespace WebCore | 703 } // namespace WebCore |
OLD | NEW |