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

Side by Side Diff: Source/core/rendering/RenderView.cpp

Issue 721413004: Remove includes of GraphicsContextAnnotator.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderTableSection.cpp ('k') | no next file » | 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) 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 12 matching lines...) Expand all
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/html/HTMLFrameOwnerElement.h" 27 #include "core/html/HTMLFrameOwnerElement.h"
28 #include "core/html/HTMLIFrameElement.h" 28 #include "core/html/HTMLIFrameElement.h"
29 #include "core/page/Page.h" 29 #include "core/page/Page.h"
30 #include "core/paint/ViewPainter.h" 30 #include "core/paint/ViewPainter.h"
31 #include "core/rendering/ColumnInfo.h" 31 #include "core/rendering/ColumnInfo.h"
32 #include "core/rendering/FlowThreadController.h" 32 #include "core/rendering/FlowThreadController.h"
33 #include "core/rendering/GraphicsContextAnnotator.h"
34 #include "core/rendering/HitTestResult.h" 33 #include "core/rendering/HitTestResult.h"
35 #include "core/rendering/RenderFlowThread.h" 34 #include "core/rendering/RenderFlowThread.h"
36 #include "core/rendering/RenderGeometryMap.h" 35 #include "core/rendering/RenderGeometryMap.h"
37 #include "core/rendering/RenderLayer.h" 36 #include "core/rendering/RenderLayer.h"
38 #include "core/rendering/RenderPart.h" 37 #include "core/rendering/RenderPart.h"
39 #include "core/rendering/RenderQuote.h" 38 #include "core/rendering/RenderQuote.h"
40 #include "core/rendering/compositing/CompositedLayerMapping.h" 39 #include "core/rendering/compositing/CompositedLayerMapping.h"
41 #include "core/rendering/compositing/RenderLayerCompositor.h" 40 #include "core/rendering/compositing/RenderLayerCompositor.h"
42 #include "core/svg/SVGDocumentExtensions.h" 41 #include "core/svg/SVGDocumentExtensions.h"
43 #include "platform/TraceEvent.h" 42 #include "platform/TraceEvent.h"
44 #include "platform/geometry/FloatQuad.h" 43 #include "platform/geometry/FloatQuad.h"
45 #include "platform/geometry/TransformState.h" 44 #include "platform/geometry/TransformState.h"
46 #include "platform/graphics/GraphicsContext.h"
47 45
48 namespace blink { 46 namespace blink {
49 47
50 RenderView::RenderView(Document* document) 48 RenderView::RenderView(Document* document)
51 : RenderBlockFlow(document) 49 : RenderBlockFlow(document)
52 , m_frameView(document->view()) 50 , m_frameView(document->view())
53 , m_selectionStart(nullptr) 51 , m_selectionStart(nullptr)
54 , m_selectionEnd(nullptr) 52 , m_selectionEnd(nullptr)
55 , m_selectionStartPos(-1) 53 , m_selectionStartPos(-1)
56 , m_selectionEndPos(-1) 54 , m_selectionEndPos(-1)
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
875 return viewWidth(IncludeScrollbars) / scale; 873 return viewWidth(IncludeScrollbars) / scale;
876 } 874 }
877 875
878 double RenderView::layoutViewportHeight() const 876 double RenderView::layoutViewportHeight() const
879 { 877 {
880 float scale = m_frameView ? m_frameView->frame().pageZoomFactor() : 1; 878 float scale = m_frameView ? m_frameView->frame().pageZoomFactor() : 1;
881 return viewHeight(IncludeScrollbars) / scale; 879 return viewHeight(IncludeScrollbars) / scale;
882 } 880 }
883 881
884 } // namespace blink 882 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTableSection.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698