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

Side by Side Diff: sky/engine/core/rendering/RenderView.cpp

Issue 686903003: Remove RenderPart. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
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 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 11 matching lines...) Expand all
22 #include "core/rendering/RenderView.h" 22 #include "core/rendering/RenderView.h"
23 23
24 #include "core/dom/Document.h" 24 #include "core/dom/Document.h"
25 #include "core/dom/Element.h" 25 #include "core/dom/Element.h"
26 #include "core/frame/LocalFrame.h" 26 #include "core/frame/LocalFrame.h"
27 #include "core/page/Page.h" 27 #include "core/page/Page.h"
28 #include "core/rendering/GraphicsContextAnnotator.h" 28 #include "core/rendering/GraphicsContextAnnotator.h"
29 #include "core/rendering/HitTestResult.h" 29 #include "core/rendering/HitTestResult.h"
30 #include "core/rendering/RenderGeometryMap.h" 30 #include "core/rendering/RenderGeometryMap.h"
31 #include "core/rendering/RenderLayer.h" 31 #include "core/rendering/RenderLayer.h"
32 #include "core/rendering/RenderPart.h"
33 #include "core/rendering/RenderSelectionInfo.h" 32 #include "core/rendering/RenderSelectionInfo.h"
34 #include "core/rendering/compositing/CompositedLayerMapping.h" 33 #include "core/rendering/compositing/CompositedLayerMapping.h"
35 #include "core/rendering/compositing/RenderLayerCompositor.h" 34 #include "core/rendering/compositing/RenderLayerCompositor.h"
36 #include "platform/RuntimeEnabledFeatures.h" 35 #include "platform/RuntimeEnabledFeatures.h"
37 #include "platform/TraceEvent.h" 36 #include "platform/TraceEvent.h"
38 #include "platform/geometry/FloatQuad.h" 37 #include "platform/geometry/FloatQuad.h"
39 #include "platform/geometry/TransformState.h" 38 #include "platform/geometry/TransformState.h"
40 #include "platform/graphics/GraphicsContext.h" 39 #include "platform/graphics/GraphicsContext.h"
41 40
42 namespace blink { 41 namespace blink {
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 return viewWidth(IncludeScrollbars) / scale; 787 return viewWidth(IncludeScrollbars) / scale;
789 } 788 }
790 789
791 double RenderView::layoutViewportHeight() const 790 double RenderView::layoutViewportHeight() const
792 { 791 {
793 float scale = m_frameView ? m_frameView->frame().pageZoomFactor() : 1; 792 float scale = m_frameView ? m_frameView->frame().pageZoomFactor() : 1;
794 return viewHeight(IncludeScrollbars) / scale; 793 return viewHeight(IncludeScrollbars) / scale;
795 } 794 }
796 795
797 } // namespace blink 796 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderTreeAsText.cpp ('k') | sky/engine/core/rendering/compositing/CompositedLayerMapping.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698