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

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

Issue 746023002: Make absolute and sort all Sky headers (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 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv ed. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv ed.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Library General Public 11 * modify it under the terms of the GNU Library General Public
12 * License as published by the Free Software Foundation; either 12 * License as published by the Free Software Foundation; either
13 * version 2 of the License, or (at your option) any later version. 13 * version 2 of the License, or (at your option) any later version.
14 * 14 *
15 * This library is distributed in the hope that it will be useful, 15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Library General Public License for more details. 18 * Library General Public License for more details.
19 * 19 *
20 * You should have received a copy of the GNU Library General Public License 20 * You should have received a copy of the GNU Library General Public License
21 * along with this library; see the file COPYING.LIB. If not, write to 21 * along with this library; see the file COPYING.LIB. If not, write to
22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 22 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23 * Boston, MA 02110-1301, USA. 23 * Boston, MA 02110-1301, USA.
24 * 24 *
25 */ 25 */
26 26
27 #include "config.h" 27 #include "sky/engine/config.h"
28 #include "core/rendering/RenderObject.h" 28 #include "sky/engine/core/rendering/RenderObject.h"
29 29
30 #include "core/css/resolver/StyleResolver.h" 30 #include <algorithm>
31 #include "core/dom/ElementTraversal.h"
32 #include "core/dom/StyleEngine.h"
33 #include "core/dom/shadow/ShadowRoot.h"
34 #include "core/editing/EditingBoundary.h"
35 #include "core/editing/FrameSelection.h"
36 #include "core/editing/htmlediting.h"
37 #include "core/fetch/ResourceLoader.h"
38 #include "core/frame/FrameView.h"
39 #include "core/frame/LocalFrame.h"
40 #include "core/html/HTMLAnchorElement.h"
41 #include "core/html/HTMLElement.h"
42 #include "core/page/AutoscrollController.h"
43 #include "core/page/EventHandler.h"
44 #include "core/page/Page.h"
45 #include "core/frame/Settings.h"
46 #include "core/frame/UseCounter.h"
47 #include "core/rendering/HitTestResult.h"
48 #include "core/rendering/RenderFlexibleBox.h"
49 #include "core/rendering/RenderGeometryMap.h"
50 #include "core/rendering/RenderImage.h"
51 #include "core/rendering/RenderImageResourceStyleImage.h"
52 #include "core/rendering/RenderInline.h"
53 #include "core/rendering/RenderLayer.h"
54 #include "core/rendering/RenderObjectInlines.h"
55 #include "core/rendering/RenderParagraph.h"
56 #include "core/rendering/RenderText.h"
57 #include "core/rendering/RenderTheme.h"
58 #include "core/rendering/RenderView.h"
59 #include "core/rendering/compositing/CompositedLayerMapping.h"
60 #include "core/rendering/compositing/RenderLayerCompositor.h"
61 #include "core/rendering/style/ShadowList.h"
62 #include "platform/JSONValues.h"
63 #include "platform/Partitions.h"
64 #include "gen/sky/platform/RuntimeEnabledFeatures.h" 31 #include "gen/sky/platform/RuntimeEnabledFeatures.h"
65 #include "platform/TraceEvent.h" 32 #include "sky/engine/core/css/resolver/StyleResolver.h"
66 #include "platform/TracedValue.h" 33 #include "sky/engine/core/dom/ElementTraversal.h"
67 #include "platform/geometry/TransformState.h" 34 #include "sky/engine/core/dom/StyleEngine.h"
68 #include "platform/graphics/GraphicsContext.h" 35 #include "sky/engine/core/dom/shadow/ShadowRoot.h"
69 #include "wtf/RefCountedLeakCounter.h" 36 #include "sky/engine/core/editing/EditingBoundary.h"
70 #include "wtf/text/StringBuilder.h" 37 #include "sky/engine/core/editing/FrameSelection.h"
71 #include "wtf/text/WTFString.h" 38 #include "sky/engine/core/editing/htmlediting.h"
72 #include <algorithm> 39 #include "sky/engine/core/fetch/ResourceLoader.h"
40 #include "sky/engine/core/frame/FrameView.h"
41 #include "sky/engine/core/frame/LocalFrame.h"
42 #include "sky/engine/core/frame/Settings.h"
43 #include "sky/engine/core/frame/UseCounter.h"
44 #include "sky/engine/core/html/HTMLAnchorElement.h"
45 #include "sky/engine/core/html/HTMLElement.h"
46 #include "sky/engine/core/page/AutoscrollController.h"
47 #include "sky/engine/core/page/EventHandler.h"
48 #include "sky/engine/core/page/Page.h"
49 #include "sky/engine/core/rendering/HitTestResult.h"
50 #include "sky/engine/core/rendering/RenderFlexibleBox.h"
51 #include "sky/engine/core/rendering/RenderGeometryMap.h"
52 #include "sky/engine/core/rendering/RenderImage.h"
53 #include "sky/engine/core/rendering/RenderImageResourceStyleImage.h"
54 #include "sky/engine/core/rendering/RenderInline.h"
55 #include "sky/engine/core/rendering/RenderLayer.h"
56 #include "sky/engine/core/rendering/RenderObjectInlines.h"
57 #include "sky/engine/core/rendering/RenderParagraph.h"
58 #include "sky/engine/core/rendering/RenderText.h"
59 #include "sky/engine/core/rendering/RenderTheme.h"
60 #include "sky/engine/core/rendering/RenderView.h"
61 #include "sky/engine/core/rendering/compositing/CompositedLayerMapping.h"
62 #include "sky/engine/core/rendering/compositing/RenderLayerCompositor.h"
63 #include "sky/engine/core/rendering/style/ShadowList.h"
64 #include "sky/engine/platform/JSONValues.h"
65 #include "sky/engine/platform/Partitions.h"
66 #include "sky/engine/platform/TraceEvent.h"
67 #include "sky/engine/platform/TracedValue.h"
68 #include "sky/engine/platform/geometry/TransformState.h"
69 #include "sky/engine/platform/graphics/GraphicsContext.h"
70 #include "sky/engine/wtf/RefCountedLeakCounter.h"
71 #include "sky/engine/wtf/text/StringBuilder.h"
72 #include "sky/engine/wtf/text/WTFString.h"
73 #ifndef NDEBUG 73 #ifndef NDEBUG
74 #include <stdio.h> 74 #include <stdio.h>
75 #endif 75 #endif
76 76
77 namespace blink { 77 namespace blink {
78 78
79 #if ENABLE(ASSERT) 79 #if ENABLE(ASSERT)
80 80
81 RenderObject::SetLayoutNeededForbiddenScope::SetLayoutNeededForbiddenScope(Rende rObject& renderObject) 81 RenderObject::SetLayoutNeededForbiddenScope::SetLayoutNeededForbiddenScope(Rende rObject& renderObject)
82 : m_renderObject(renderObject) 82 : m_renderObject(renderObject)
(...skipping 2527 matching lines...) Expand 10 before | Expand all | Expand 10 after
2610 { 2610 {
2611 if (object1) { 2611 if (object1) {
2612 const blink::RenderObject* root = object1; 2612 const blink::RenderObject* root = object1;
2613 while (root->parent()) 2613 while (root->parent())
2614 root = root->parent(); 2614 root = root->parent();
2615 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); 2615 root->showRenderTreeAndMark(object1, "*", object2, "-", 0);
2616 } 2616 }
2617 } 2617 }
2618 2618
2619 #endif 2619 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderObject.h ('k') | sky/engine/core/rendering/RenderObjectChildList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698