| 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 1008 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1019 { | 1019 { |
| 1020 return style()->visitedDependentColor(colorProperty); | 1020 return style()->visitedDependentColor(colorProperty); |
| 1021 } | 1021 } |
| 1022 | 1022 |
| 1023 // Used only by Element::pseudoStyleCacheIsInvalid to get a first line style
based off of a | 1023 // Used only by Element::pseudoStyleCacheIsInvalid to get a first line style
based off of a |
| 1024 // given new style, without accessing the cache. | 1024 // given new style, without accessing the cache. |
| 1025 PassRefPtr<ComputedStyle> uncachedFirstLineStyle(ComputedStyle*) const; | 1025 PassRefPtr<ComputedStyle> uncachedFirstLineStyle(ComputedStyle*) const; |
| 1026 | 1026 |
| 1027 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const; | 1027 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const; |
| 1028 | 1028 |
| 1029 struct AppliedTextDecoration { | |
| 1030 STACK_ALLOCATED(); | |
| 1031 Color color; | |
| 1032 TextDecorationStyle style; | |
| 1033 AppliedTextDecoration() : color(Color::transparent), style(TextDecoratio
nStyleSolid) { } | |
| 1034 }; | |
| 1035 | |
| 1036 void getTextDecorations(unsigned decorations, AppliedTextDecoration& underli
ne, AppliedTextDecoration& overline, AppliedTextDecoration& linethrough, bool qu
irksMode = false, bool firstlineStyle = false); | |
| 1037 | |
| 1038 // Return the LayoutBoxModelObject in the container chain which is responsib
le for painting this object, or layout view | 1029 // Return the LayoutBoxModelObject in the container chain which is responsib
le for painting this object, or layout view |
| 1039 // if painting is root-relative. This is the container that should be passed
to the 'forPaintInvalidation' | 1030 // if painting is root-relative. This is the container that should be passed
to the 'forPaintInvalidation' |
| 1040 // methods. | 1031 // methods. |
| 1041 const LayoutBoxModelObject& containerForPaintInvalidationOnRootedTree() cons
t; | 1032 const LayoutBoxModelObject& containerForPaintInvalidationOnRootedTree() cons
t; |
| 1042 | 1033 |
| 1043 // This method will be deprecated in a long term, replaced by containerForPa
intInvalidationOnRootedTree. | 1034 // This method will be deprecated in a long term, replaced by containerForPa
intInvalidationOnRootedTree. |
| 1044 const LayoutBoxModelObject* containerForPaintInvalidation() const; | 1035 const LayoutBoxModelObject* containerForPaintInvalidation() const; |
| 1045 | 1036 |
| 1046 const LayoutBoxModelObject* adjustCompositedContainerForSpecialAncestors(con
st LayoutBoxModelObject* paintInvalidationContainer) const; | 1037 const LayoutBoxModelObject* adjustCompositedContainerForSpecialAncestors(con
st LayoutBoxModelObject* paintInvalidationContainer) const; |
| 1047 bool isPaintInvalidationContainer() const; | 1038 bool isPaintInvalidationContainer() const; |
| (...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2047 void showTree(const blink::LayoutObject*); | 2038 void showTree(const blink::LayoutObject*); |
| 2048 void showLineTree(const blink::LayoutObject*); | 2039 void showLineTree(const blink::LayoutObject*); |
| 2049 void showLayoutTree(const blink::LayoutObject* object1); | 2040 void showLayoutTree(const blink::LayoutObject* object1); |
| 2050 // We don't make object2 an optional parameter so that showLayoutTree | 2041 // We don't make object2 an optional parameter so that showLayoutTree |
| 2051 // can be called from gdb easily. | 2042 // can be called from gdb easily. |
| 2052 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2043 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
| 2053 | 2044 |
| 2054 #endif | 2045 #endif |
| 2055 | 2046 |
| 2056 #endif // LayoutObject_h | 2047 #endif // LayoutObject_h |
| OLD | NEW |