| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999 Lars Knoll (knoll@kde.org) | 2 * (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Dirk Mueller (mueller@kde.org) | 3 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. | 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. |
| 5 * All rights reserved. | 5 * All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 545 const ComputedStyle& style, | 545 const ComputedStyle& style, |
| 546 const Font& font, | 546 const Font& font, |
| 547 bool grammar) const { | 547 bool grammar) const { |
| 548 InlineTextBoxPainter(*this).PaintDocumentMarker(pt, box_origin, marker, style, | 548 InlineTextBoxPainter(*this).PaintDocumentMarker(pt, box_origin, marker, style, |
| 549 font, grammar); | 549 font, grammar); |
| 550 } | 550 } |
| 551 | 551 |
| 552 void InlineTextBox::PaintTextMatchMarkerForeground( | 552 void InlineTextBox::PaintTextMatchMarkerForeground( |
| 553 const PaintInfo& paint_info, | 553 const PaintInfo& paint_info, |
| 554 const LayoutPoint& box_origin, | 554 const LayoutPoint& box_origin, |
| 555 const DocumentMarker& marker, | 555 const TextMatchMarker& marker, |
| 556 const ComputedStyle& style, | 556 const ComputedStyle& style, |
| 557 const Font& font) const { | 557 const Font& font) const { |
| 558 InlineTextBoxPainter(*this).PaintTextMatchMarkerForeground( | 558 InlineTextBoxPainter(*this).PaintTextMatchMarkerForeground( |
| 559 paint_info, box_origin, marker, style, font); | 559 paint_info, box_origin, marker, style, font); |
| 560 } | 560 } |
| 561 | 561 |
| 562 void InlineTextBox::PaintTextMatchMarkerBackground( | 562 void InlineTextBox::PaintTextMatchMarkerBackground( |
| 563 const PaintInfo& paint_info, | 563 const PaintInfo& paint_info, |
| 564 const LayoutPoint& box_origin, | 564 const LayoutPoint& box_origin, |
| 565 const DocumentMarker& marker, | 565 const TextMatchMarker& marker, |
| 566 const ComputedStyle& style, | 566 const ComputedStyle& style, |
| 567 const Font& font) const { | 567 const Font& font) const { |
| 568 InlineTextBoxPainter(*this).PaintTextMatchMarkerBackground( | 568 InlineTextBoxPainter(*this).PaintTextMatchMarkerBackground( |
| 569 paint_info, box_origin, marker, style, font); | 569 paint_info, box_origin, marker, style, font); |
| 570 } | 570 } |
| 571 | 571 |
| 572 int InlineTextBox::CaretMinOffset() const { | 572 int InlineTextBox::CaretMinOffset() const { |
| 573 return start_; | 573 return start_; |
| 574 } | 574 } |
| 575 | 575 |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 748 for (; printed_characters < kLayoutObjectCharacterOffset; | 748 for (; printed_characters < kLayoutObjectCharacterOffset; |
| 749 printed_characters++) | 749 printed_characters++) |
| 750 fputc(' ', stderr); | 750 fputc(' ', stderr); |
| 751 fprintf(stderr, "(%d,%d) \"%s\"\n", Start(), Start() + Len(), | 751 fprintf(stderr, "(%d,%d) \"%s\"\n", Start(), Start() + Len(), |
| 752 value.Utf8().data()); | 752 value.Utf8().data()); |
| 753 } | 753 } |
| 754 | 754 |
| 755 #endif | 755 #endif |
| 756 | 756 |
| 757 } // namespace blink | 757 } // namespace blink |
| OLD | NEW |