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) 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 |
(...skipping 12 matching lines...) Expand all Loading... |
23 * Boston, MA 02110-1301, USA. | 23 * Boston, MA 02110-1301, USA. |
24 * | 24 * |
25 */ | 25 */ |
26 | 26 |
27 #include "core/layout/LayoutObject.h" | 27 #include "core/layout/LayoutObject.h" |
28 | 28 |
29 #include "core/HTMLNames.h" | 29 #include "core/HTMLNames.h" |
30 #include "core/css/resolver/StyleResolver.h" | 30 #include "core/css/resolver/StyleResolver.h" |
31 #include "core/dom/AXObjectCache.h" | 31 #include "core/dom/AXObjectCache.h" |
32 #include "core/dom/ElementTraversal.h" | 32 #include "core/dom/ElementTraversal.h" |
| 33 #include "core/dom/StyleChangeReason.h" |
33 #include "core/dom/StyleEngine.h" | 34 #include "core/dom/StyleEngine.h" |
34 #include "core/dom/shadow/ShadowRoot.h" | 35 #include "core/dom/shadow/ShadowRoot.h" |
35 #include "core/editing/EditingBoundary.h" | 36 #include "core/editing/EditingBoundary.h" |
36 #include "core/editing/EditingUtilities.h" | 37 #include "core/editing/EditingUtilities.h" |
37 #include "core/editing/FrameSelection.h" | 38 #include "core/editing/FrameSelection.h" |
38 #include "core/editing/TextAffinity.h" | 39 #include "core/editing/TextAffinity.h" |
39 #include "core/fetch/ResourceLoader.h" | 40 #include "core/fetch/ResourceLoader.h" |
40 #include "core/frame/DeprecatedScheduleStyleRecalcDuringLayout.h" | 41 #include "core/frame/DeprecatedScheduleStyleRecalcDuringLayout.h" |
41 #include "core/frame/EventHandlerRegistry.h" | 42 #include "core/frame/EventHandlerRegistry.h" |
42 #include "core/frame/FrameView.h" | 43 #include "core/frame/FrameView.h" |
43 #include "core/frame/LocalFrame.h" | 44 #include "core/frame/LocalFrame.h" |
44 #include "core/frame/Settings.h" | 45 #include "core/frame/Settings.h" |
45 #include "core/frame/UseCounter.h" | 46 #include "core/frame/UseCounter.h" |
46 #include "core/html/HTMLAnchorElement.h" | 47 #include "core/html/HTMLAnchorElement.h" |
47 #include "core/html/HTMLElement.h" | 48 #include "core/html/HTMLElement.h" |
48 #include "core/html/HTMLHtmlElement.h" | 49 #include "core/html/HTMLHtmlElement.h" |
49 #include "core/html/HTMLTableCellElement.h" | 50 #include "core/html/HTMLTableCellElement.h" |
50 #include "core/html/HTMLTableElement.h" | 51 #include "core/html/HTMLTableElement.h" |
51 #include "core/input/EventHandler.h" | 52 #include "core/input/EventHandler.h" |
| 53 #include "core/inspector/InstanceCounters.h" |
52 #include "core/layout/HitTestResult.h" | 54 #include "core/layout/HitTestResult.h" |
53 #include "core/layout/LayoutCounter.h" | 55 #include "core/layout/LayoutCounter.h" |
54 #include "core/layout/LayoutDeprecatedFlexibleBox.h" | 56 #include "core/layout/LayoutDeprecatedFlexibleBox.h" |
55 #include "core/layout/LayoutFlexibleBox.h" | 57 #include "core/layout/LayoutFlexibleBox.h" |
56 #include "core/layout/LayoutFlowThread.h" | 58 #include "core/layout/LayoutFlowThread.h" |
57 #include "core/layout/LayoutGeometryMap.h" | 59 #include "core/layout/LayoutGeometryMap.h" |
58 #include "core/layout/LayoutGrid.h" | 60 #include "core/layout/LayoutGrid.h" |
59 #include "core/layout/LayoutImage.h" | 61 #include "core/layout/LayoutImage.h" |
60 #include "core/layout/LayoutImageResourceStyleImage.h" | 62 #include "core/layout/LayoutImageResourceStyleImage.h" |
61 #include "core/layout/LayoutInline.h" | 63 #include "core/layout/LayoutInline.h" |
(...skipping 3650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3712 const blink::LayoutObject* root = object1; | 3714 const blink::LayoutObject* root = object1; |
3713 while (root->parent()) | 3715 while (root->parent()) |
3714 root = root->parent(); | 3716 root = root->parent(); |
3715 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0); | 3717 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0); |
3716 } else { | 3718 } else { |
3717 fprintf(stderr, "Cannot showLayoutTree. Root is (nil)\n"); | 3719 fprintf(stderr, "Cannot showLayoutTree. Root is (nil)\n"); |
3718 } | 3720 } |
3719 } | 3721 } |
3720 | 3722 |
3721 #endif | 3723 #endif |
OLD | NEW |