| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 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) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 935 { | 935 { |
| 936 return style()->visitedDependentColor(colorProperty); | 936 return style()->visitedDependentColor(colorProperty); |
| 937 } | 937 } |
| 938 | 938 |
| 939 // Used only by Element::pseudoStyleCacheIsInvalid to get a first line style
based off of a | 939 // Used only by Element::pseudoStyleCacheIsInvalid to get a first line style
based off of a |
| 940 // given new style, without accessing the cache. | 940 // given new style, without accessing the cache. |
| 941 PassRefPtr<ComputedStyle> uncachedFirstLineStyle(ComputedStyle*) const; | 941 PassRefPtr<ComputedStyle> uncachedFirstLineStyle(ComputedStyle*) const; |
| 942 | 942 |
| 943 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const; | 943 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const; |
| 944 | 944 |
| 945 struct AppliedTextDecoration { | |
| 946 STACK_ALLOCATED(); | |
| 947 Color color; | |
| 948 TextDecorationStyle style; | |
| 949 AppliedTextDecoration() : color(Color::transparent), style(TextDecoratio
nStyleSolid) { } | |
| 950 }; | |
| 951 | |
| 952 void getTextDecorations(unsigned decorations, AppliedTextDecoration& underli
ne, AppliedTextDecoration& overline, AppliedTextDecoration& linethrough, bool qu
irksMode = false, bool firstlineStyle = false); | |
| 953 | |
| 954 // Return the LayoutBoxModelObject in the container chain which is responsib
le for painting this object, or layout view | 945 // Return the LayoutBoxModelObject in the container chain which is responsib
le for painting this object, or layout view |
| 955 // if painting is root-relative. This is the container that should be passed
to the 'forPaintInvalidation' | 946 // if painting is root-relative. This is the container that should be passed
to the 'forPaintInvalidation' |
| 956 // methods. | 947 // methods. |
| 957 const LayoutBoxModelObject& containerForPaintInvalidationOnRootedTree() cons
t; | 948 const LayoutBoxModelObject& containerForPaintInvalidationOnRootedTree() cons
t; |
| 958 | 949 |
| 959 // This method will be deprecated in a long term, replaced by containerForPa
intInvalidationOnRootedTree. | 950 // This method will be deprecated in a long term, replaced by containerForPa
intInvalidationOnRootedTree. |
| 960 const LayoutBoxModelObject* containerForPaintInvalidation() const; | 951 const LayoutBoxModelObject* containerForPaintInvalidation() const; |
| 961 | 952 |
| 962 const LayoutBoxModelObject* adjustCompositedContainerForSpecialAncestors(con
st LayoutBoxModelObject* paintInvalidationContainer) const; | 953 const LayoutBoxModelObject* adjustCompositedContainerForSpecialAncestors(con
st LayoutBoxModelObject* paintInvalidationContainer) const; |
| 963 bool isPaintInvalidationContainer() const; | 954 bool isPaintInvalidationContainer() const; |
| (...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1920 void showTree(const blink::LayoutObject*); | 1911 void showTree(const blink::LayoutObject*); |
| 1921 void showLineTree(const blink::LayoutObject*); | 1912 void showLineTree(const blink::LayoutObject*); |
| 1922 void showLayoutTree(const blink::LayoutObject* object1); | 1913 void showLayoutTree(const blink::LayoutObject* object1); |
| 1923 // We don't make object2 an optional parameter so that showLayoutTree | 1914 // We don't make object2 an optional parameter so that showLayoutTree |
| 1924 // can be called from gdb easily. | 1915 // can be called from gdb easily. |
| 1925 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 1916 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
| 1926 | 1917 |
| 1927 #endif | 1918 #endif |
| 1928 | 1919 |
| 1929 #endif // LayoutObject_h | 1920 #endif // LayoutObject_h |
| OLD | NEW |