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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 #if DCHECK_IS_ON() | 422 #if DCHECK_IS_ON() |
423 bool isSetNeedsLayoutForbidden() const { return m_setNeedsLayoutForbidden; } | 423 bool isSetNeedsLayoutForbidden() const { return m_setNeedsLayoutForbidden; } |
424 void setNeedsLayoutIsForbidden(bool flag) { | 424 void setNeedsLayoutIsForbidden(bool flag) { |
425 m_setNeedsLayoutForbidden = flag; | 425 m_setNeedsLayoutForbidden = flag; |
426 } | 426 } |
427 #endif | 427 #endif |
428 | 428 |
429 void addAbsoluteRectForLayer(IntRect& result); | 429 void addAbsoluteRectForLayer(IntRect& result); |
430 bool requiresAnonymousTableWrappers(const LayoutObject*) const; | 430 bool requiresAnonymousTableWrappers(const LayoutObject*) const; |
431 | 431 |
432 // Gets pseudoStyle from Shadow host(in case of input elements) | 432 // Gets ::selection pseudo style from Shadow host(in case of input elements) |
433 // or from Parent element. | 433 // or from parent element. |
434 PassRefPtr<ComputedStyle> getUncachedPseudoStyleFromParentOrShadowHost() | 434 PassRefPtr<ComputedStyle> getUncachedSelectionStyle() const; |
435 const; | |
436 | 435 |
437 public: | 436 public: |
438 #ifndef NDEBUG | 437 #ifndef NDEBUG |
439 void showTreeForThis() const; | 438 void showTreeForThis() const; |
440 void showLayoutTreeForThis() const; | 439 void showLayoutTreeForThis() const; |
441 void showLineTreeForThis() const; | 440 void showLineTreeForThis() const; |
442 | 441 |
443 void showLayoutObject() const; | 442 void showLayoutObject() const; |
444 // We don't make stringBuilder an optional parameter so that | 443 // We don't make stringBuilder an optional parameter so that |
445 // showLayoutObject can be called from gdb easily. | 444 // showLayoutObject can be called from gdb easily. |
(...skipping 2328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2774 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2773 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
2775 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2774 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
2776 // We don't make object2 an optional parameter so that showLayoutTree | 2775 // We don't make object2 an optional parameter so that showLayoutTree |
2777 // can be called from gdb easily. | 2776 // can be called from gdb easily. |
2778 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2777 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
2779 const blink::LayoutObject* object2); | 2778 const blink::LayoutObject* object2); |
2780 | 2779 |
2781 #endif | 2780 #endif |
2782 | 2781 |
2783 #endif // LayoutObject_h | 2782 #endif // LayoutObject_h |
OLD | NEW |