Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Side by Side Diff: sky/engine/core/frame/LocalFrame.cpp

Issue 878673005: Get rid of Chrome, use Page. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/engine/core/frame/LocalDOMWindow.cpp ('k') | sky/engine/core/html/HTMLAnchorElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "sky/engine/core/frame/FrameConsole.h" 42 #include "sky/engine/core/frame/FrameConsole.h"
43 #include "sky/engine/core/frame/FrameDestructionObserver.h" 43 #include "sky/engine/core/frame/FrameDestructionObserver.h"
44 #include "sky/engine/core/frame/FrameHost.h" 44 #include "sky/engine/core/frame/FrameHost.h"
45 #include "sky/engine/core/frame/FrameView.h" 45 #include "sky/engine/core/frame/FrameView.h"
46 #include "sky/engine/core/frame/LocalDOMWindow.h" 46 #include "sky/engine/core/frame/LocalDOMWindow.h"
47 #include "sky/engine/core/frame/NewEventHandler.h" 47 #include "sky/engine/core/frame/NewEventHandler.h"
48 #include "sky/engine/core/frame/Settings.h" 48 #include "sky/engine/core/frame/Settings.h"
49 #include "sky/engine/core/inspector/ConsoleMessageStorage.h" 49 #include "sky/engine/core/inspector/ConsoleMessageStorage.h"
50 #include "sky/engine/core/loader/FrameLoaderClient.h" 50 #include "sky/engine/core/loader/FrameLoaderClient.h"
51 #include "sky/engine/core/loader/MojoLoader.h" 51 #include "sky/engine/core/loader/MojoLoader.h"
52 #include "sky/engine/core/page/Chrome.h"
53 #include "sky/engine/core/page/EventHandler.h" 52 #include "sky/engine/core/page/EventHandler.h"
54 #include "sky/engine/core/page/FocusController.h" 53 #include "sky/engine/core/page/FocusController.h"
55 #include "sky/engine/core/page/Page.h" 54 #include "sky/engine/core/page/Page.h"
56 #include "sky/engine/core/rendering/HitTestResult.h" 55 #include "sky/engine/core/rendering/HitTestResult.h"
57 #include "sky/engine/core/rendering/RenderLayer.h" 56 #include "sky/engine/core/rendering/RenderLayer.h"
58 #include "sky/engine/core/rendering/RenderView.h" 57 #include "sky/engine/core/rendering/RenderView.h"
59 #include "sky/engine/platform/graphics/GraphicsContext.h" 58 #include "sky/engine/platform/graphics/GraphicsContext.h"
60 #include "sky/engine/platform/graphics/ImageBuffer.h" 59 #include "sky/engine/platform/graphics/ImageBuffer.h"
61 #include "sky/engine/platform/text/TextStream.h" 60 #include "sky/engine/platform/text/TextStream.h"
62 #include "sky/engine/wtf/PassOwnPtr.h" 61 #include "sky/engine/wtf/PassOwnPtr.h"
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 } 314 }
316 315
317 double LocalFrame::devicePixelRatio() const 316 double LocalFrame::devicePixelRatio() const
318 { 317 {
319 if (!m_host) 318 if (!m_host)
320 return 0; 319 return 0;
321 return m_host->deviceScaleFactor(); 320 return m_host->deviceScaleFactor();
322 } 321 }
323 322
324 } // namespace blink 323 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/frame/LocalDOMWindow.cpp ('k') | sky/engine/core/html/HTMLAnchorElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698