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) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. |
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
8 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 8 * Copyright (C) Research In Motion Limited 2010. 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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 if (!marker->isRendered()) | 479 if (!marker->isRendered()) |
480 continue; | 480 continue; |
481 result.append(marker->renderedRect()); | 481 result.append(marker->renderedRect()); |
482 } | 482 } |
483 } | 483 } |
484 } | 484 } |
485 | 485 |
486 return result; | 486 return result; |
487 } | 487 } |
488 | 488 |
489 void DocumentMarkerController::trace(Visitor* visitor) | 489 DEFINE_TRACE(DocumentMarkerController) |
490 { | 490 { |
491 #if ENABLE(OILPAN) | 491 #if ENABLE(OILPAN) |
492 visitor->trace(m_markers); | 492 visitor->trace(m_markers); |
493 #endif | 493 #endif |
494 } | 494 } |
495 | 495 |
496 void DocumentMarkerController::removeMarkers(Node* node, DocumentMarker::MarkerT
ypes markerTypes) | 496 void DocumentMarkerController::removeMarkers(Node* node, DocumentMarker::MarkerT
ypes markerTypes) |
497 { | 497 { |
498 if (!possiblyHasMarkers(markerTypes)) | 498 if (!possiblyHasMarkers(markerTypes)) |
499 return; | 499 return; |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
729 | 729 |
730 } // namespace blink | 730 } // namespace blink |
731 | 731 |
732 #ifndef NDEBUG | 732 #ifndef NDEBUG |
733 void showDocumentMarkers(const blink::DocumentMarkerController* controller) | 733 void showDocumentMarkers(const blink::DocumentMarkerController* controller) |
734 { | 734 { |
735 if (controller) | 735 if (controller) |
736 controller->showMarkers(); | 736 controller->showMarkers(); |
737 } | 737 } |
738 #endif | 738 #endif |
OLD | NEW |