| 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. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. |
| 7 * All rights reserved. | 7 * All rights reserved. |
| 8 * Copyright (C) 2009 Google Inc. All rights reserved. | 8 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 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 1256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1267 inline Color resolveColor(int colorProperty) const { | 1267 inline Color resolveColor(int colorProperty) const { |
| 1268 return style()->visitedDependentColor(colorProperty); | 1268 return style()->visitedDependentColor(colorProperty); |
| 1269 } | 1269 } |
| 1270 | 1270 |
| 1271 // Used only by Element::pseudoStyleCacheIsInvalid to get a first line style | 1271 // Used only by Element::pseudoStyleCacheIsInvalid to get a first line style |
| 1272 // based off of a given new style, without accessing the cache. | 1272 // based off of a given new style, without accessing the cache. |
| 1273 PassRefPtr<ComputedStyle> uncachedFirstLineStyle(ComputedStyle*) const; | 1273 PassRefPtr<ComputedStyle> uncachedFirstLineStyle(ComputedStyle*) const; |
| 1274 | 1274 |
| 1275 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const; | 1275 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const; |
| 1276 | 1276 |
| 1277 struct AppliedTextDecoration { | |
| 1278 STACK_ALLOCATED(); | |
| 1279 Color color; | |
| 1280 TextDecorationStyle style; | |
| 1281 AppliedTextDecoration() | |
| 1282 : color(Color::transparent), style(TextDecorationStyleSolid) {} | |
| 1283 }; | |
| 1284 | |
| 1285 void getTextDecorations(unsigned decorations, | |
| 1286 AppliedTextDecoration& underline, | |
| 1287 AppliedTextDecoration& overline, | |
| 1288 AppliedTextDecoration& linethrough, | |
| 1289 bool quirksMode = false, | |
| 1290 bool firstlineStyle = false); | |
| 1291 | |
| 1292 // Return the LayoutBoxModelObject in the container chain which is responsible | 1277 // Return the LayoutBoxModelObject in the container chain which is responsible |
| 1293 // for painting this object. The function crosses frames boundaries so the | 1278 // for painting this object. The function crosses frames boundaries so the |
| 1294 // returned value can be in a different document. | 1279 // returned value can be in a different document. |
| 1295 // | 1280 // |
| 1296 // This is the container that should be passed to the '*forPaintInvalidation' | 1281 // This is the container that should be passed to the '*forPaintInvalidation' |
| 1297 // methods. | 1282 // methods. |
| 1298 const LayoutBoxModelObject& containerForPaintInvalidation() const; | 1283 const LayoutBoxModelObject& containerForPaintInvalidation() const; |
| 1299 | 1284 |
| 1300 bool isPaintInvalidationContainer() const; | 1285 bool isPaintInvalidationContainer() const; |
| 1301 | 1286 |
| (...skipping 1340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2642 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2627 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
| 2643 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2628 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
| 2644 // We don't make object2 an optional parameter so that showLayoutTree | 2629 // We don't make object2 an optional parameter so that showLayoutTree |
| 2645 // can be called from gdb easily. | 2630 // can be called from gdb easily. |
| 2646 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2631 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
| 2647 const blink::LayoutObject* object2); | 2632 const blink::LayoutObject* object2); |
| 2648 | 2633 |
| 2649 #endif | 2634 #endif |
| 2650 | 2635 |
| 2651 #endif // LayoutObject_h | 2636 #endif // LayoutObject_h |
| OLD | NEW |