| 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 19 matching lines...) Expand all Loading... |
| 30 #include "sky/engine/config.h" | 30 #include "sky/engine/config.h" |
| 31 #include "sky/engine/core/frame/LocalFrame.h" | 31 #include "sky/engine/core/frame/LocalFrame.h" |
| 32 | 32 |
| 33 #include "gen/sky/platform/RuntimeEnabledFeatures.h" | 33 #include "gen/sky/platform/RuntimeEnabledFeatures.h" |
| 34 #include "sky/engine/bindings/core/v8/ScriptController.h" | 34 #include "sky/engine/bindings/core/v8/ScriptController.h" |
| 35 #include "sky/engine/core/editing/Editor.h" | 35 #include "sky/engine/core/editing/Editor.h" |
| 36 #include "sky/engine/core/editing/FrameSelection.h" | 36 #include "sky/engine/core/editing/FrameSelection.h" |
| 37 #include "sky/engine/core/editing/InputMethodController.h" | 37 #include "sky/engine/core/editing/InputMethodController.h" |
| 38 #include "sky/engine/core/editing/SpellChecker.h" | 38 #include "sky/engine/core/editing/SpellChecker.h" |
| 39 #include "sky/engine/core/editing/htmlediting.h" | 39 #include "sky/engine/core/editing/htmlediting.h" |
| 40 #include "sky/engine/core/editing/markup.h" | |
| 41 #include "sky/engine/core/events/Event.h" | 40 #include "sky/engine/core/events/Event.h" |
| 42 #include "sky/engine/core/fetch/ResourceFetcher.h" | 41 #include "sky/engine/core/fetch/ResourceFetcher.h" |
| 43 #include "sky/engine/core/frame/FrameConsole.h" | 42 #include "sky/engine/core/frame/FrameConsole.h" |
| 44 #include "sky/engine/core/frame/FrameDestructionObserver.h" | 43 #include "sky/engine/core/frame/FrameDestructionObserver.h" |
| 45 #include "sky/engine/core/frame/FrameHost.h" | 44 #include "sky/engine/core/frame/FrameHost.h" |
| 46 #include "sky/engine/core/frame/FrameView.h" | 45 #include "sky/engine/core/frame/FrameView.h" |
| 47 #include "sky/engine/core/frame/LocalDOMWindow.h" | 46 #include "sky/engine/core/frame/LocalDOMWindow.h" |
| 48 #include "sky/engine/core/frame/Settings.h" | 47 #include "sky/engine/core/frame/Settings.h" |
| 49 #include "sky/engine/core/inspector/ConsoleMessageStorage.h" | 48 #include "sky/engine/core/inspector/ConsoleMessageStorage.h" |
| 50 #include "sky/engine/core/loader/FrameLoaderClient.h" | 49 #include "sky/engine/core/loader/FrameLoaderClient.h" |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 }; | 350 }; |
| 352 | 351 |
| 353 double LocalFrame::devicePixelRatio() const | 352 double LocalFrame::devicePixelRatio() const |
| 354 { | 353 { |
| 355 if (!m_host) | 354 if (!m_host) |
| 356 return 0; | 355 return 0; |
| 357 return m_host->deviceScaleFactor(); | 356 return m_host->deviceScaleFactor(); |
| 358 } | 357 } |
| 359 | 358 |
| 360 } // namespace blink | 359 } // namespace blink |
| OLD | NEW |