| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2007 David Smith (catfish.man@gmail.com) | 4 * (C) 2007 David Smith (catfish.man@gmail.com) |
| 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. |
| 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| 11 * version 2 of the License, or (at your option) any later version. | 11 * version 2 of the License, or (at your option) any later version. |
| 12 * | 12 * |
| 13 * This library is distributed in the hope that it will be useful, | 13 * This library is distributed in the hope that it will be useful, |
| 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 * Library General Public License for more details. | 16 * Library General Public License for more details. |
| 17 * | 17 * |
| 18 * You should have received a copy of the GNU Library General Public License | 18 * You should have received a copy of the GNU Library General Public License |
| 19 * along with this library; see the file COPYING.LIB. If not, write to | 19 * along with this library; see the file COPYING.LIB. If not, write to |
| 20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 21 * Boston, MA 02110-1301, USA. | 21 * Boston, MA 02110-1301, USA. |
| 22 */ | 22 */ |
| 23 | 23 |
| 24 #include "config.h" | 24 #include "sky/engine/config.h" |
| 25 #include "core/rendering/RenderBlock.h" | 25 #include "sky/engine/core/rendering/RenderBlock.h" |
| 26 | 26 |
| 27 #include "core/dom/Document.h" | 27 #include "sky/engine/core/dom/Document.h" |
| 28 #include "core/dom/Element.h" | 28 #include "sky/engine/core/dom/Element.h" |
| 29 #include "core/dom/StyleEngine.h" | 29 #include "sky/engine/core/dom/StyleEngine.h" |
| 30 #include "core/dom/shadow/ShadowRoot.h" | 30 #include "sky/engine/core/dom/shadow/ShadowRoot.h" |
| 31 #include "core/editing/Editor.h" | 31 #include "sky/engine/core/editing/Editor.h" |
| 32 #include "core/editing/FrameSelection.h" | 32 #include "sky/engine/core/editing/FrameSelection.h" |
| 33 #include "core/frame/FrameView.h" | 33 #include "sky/engine/core/frame/FrameView.h" |
| 34 #include "core/frame/LocalFrame.h" | 34 #include "sky/engine/core/frame/LocalFrame.h" |
| 35 #include "core/page/Page.h" | 35 #include "sky/engine/core/frame/Settings.h" |
| 36 #include "core/frame/Settings.h" | 36 #include "sky/engine/core/page/Page.h" |
| 37 #include "core/rendering/GraphicsContextAnnotator.h" | 37 #include "sky/engine/core/rendering/GraphicsContextAnnotator.h" |
| 38 #include "core/rendering/HitTestLocation.h" | 38 #include "sky/engine/core/rendering/HitTestLocation.h" |
| 39 #include "core/rendering/HitTestResult.h" | 39 #include "sky/engine/core/rendering/HitTestResult.h" |
| 40 #include "core/rendering/InlineIterator.h" | 40 #include "sky/engine/core/rendering/InlineIterator.h" |
| 41 #include "core/rendering/InlineTextBox.h" | 41 #include "sky/engine/core/rendering/InlineTextBox.h" |
| 42 #include "core/rendering/PaintInfo.h" | 42 #include "sky/engine/core/rendering/PaintInfo.h" |
| 43 #include "core/rendering/RenderFlexibleBox.h" | 43 #include "sky/engine/core/rendering/RenderFlexibleBox.h" |
| 44 #include "core/rendering/RenderInline.h" | 44 #include "sky/engine/core/rendering/RenderInline.h" |
| 45 #include "core/rendering/RenderLayer.h" | 45 #include "sky/engine/core/rendering/RenderLayer.h" |
| 46 #include "core/rendering/RenderObjectInlines.h" | 46 #include "sky/engine/core/rendering/RenderObjectInlines.h" |
| 47 #include "core/rendering/RenderParagraph.h" | 47 #include "sky/engine/core/rendering/RenderParagraph.h" |
| 48 #include "core/rendering/RenderView.h" | 48 #include "sky/engine/core/rendering/RenderView.h" |
| 49 #include "core/rendering/style/RenderStyle.h" | 49 #include "sky/engine/core/rendering/style/RenderStyle.h" |
| 50 #include "platform/geometry/FloatQuad.h" | 50 #include "sky/engine/platform/geometry/FloatQuad.h" |
| 51 #include "platform/geometry/TransformState.h" | 51 #include "sky/engine/platform/geometry/TransformState.h" |
| 52 #include "platform/graphics/GraphicsContextCullSaver.h" | 52 #include "sky/engine/platform/graphics/GraphicsContextCullSaver.h" |
| 53 #include "platform/graphics/GraphicsContextStateSaver.h" | 53 #include "sky/engine/platform/graphics/GraphicsContextStateSaver.h" |
| 54 #include "wtf/StdLibExtras.h" | 54 #include "sky/engine/wtf/StdLibExtras.h" |
| 55 #include "wtf/TemporaryChange.h" | 55 #include "sky/engine/wtf/TemporaryChange.h" |
| 56 | 56 |
| 57 using namespace WTF; | 57 using namespace WTF; |
| 58 using namespace Unicode; | 58 using namespace Unicode; |
| 59 | 59 |
| 60 namespace blink { | 60 namespace blink { |
| 61 | 61 |
| 62 struct SameSizeAsRenderBlock : public RenderBox { | 62 struct SameSizeAsRenderBlock : public RenderBox { |
| 63 RenderObjectChildList children; | 63 RenderObjectChildList children; |
| 64 RenderLineBoxList lineBoxes; | 64 RenderLineBoxList lineBoxes; |
| 65 int pageLogicalOffset; | 65 int pageLogicalOffset; |
| (...skipping 2118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2184 void RenderBlock::showLineTreeAndMark(const InlineBox* markedBox1, const char* m
arkedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const Render
Object* obj) const | 2184 void RenderBlock::showLineTreeAndMark(const InlineBox* markedBox1, const char* m
arkedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const Render
Object* obj) const |
| 2185 { | 2185 { |
| 2186 showRenderObject(); | 2186 showRenderObject(); |
| 2187 for (const RootInlineBox* root = firstRootBox(); root; root = root->nextRoot
Box()) | 2187 for (const RootInlineBox* root = firstRootBox(); root; root = root->nextRoot
Box()) |
| 2188 root->showLineTreeAndMark(markedBox1, markedLabel1, markedBox2, markedLa
bel2, obj, 1); | 2188 root->showLineTreeAndMark(markedBox1, markedLabel1, markedBox2, markedLa
bel2, obj, 1); |
| 2189 } | 2189 } |
| 2190 | 2190 |
| 2191 #endif | 2191 #endif |
| 2192 | 2192 |
| 2193 } // namespace blink | 2193 } // namespace blink |
| OLD | NEW |