| OLD | NEW |
| 1 /** | 1 /** |
| 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. | 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 first_line, | 43 first_line, |
| 44 true, | 44 true, |
| 45 false, | 45 false, |
| 46 false, | 46 false, |
| 47 is_vertical, | 47 is_vertical, |
| 48 0, | 48 0, |
| 49 0, | 49 0, |
| 50 parent), | 50 parent), |
| 51 height_(height), | 51 height_(height), |
| 52 str_(ellipsis_str), | 52 str_(ellipsis_str), |
| 53 selection_state_(SelectionNone) { | 53 selection_state_(SelectionState::kNone) { |
| 54 SetHasVirtualLogicalHeight(); | 54 SetHasVirtualLogicalHeight(); |
| 55 } | 55 } |
| 56 | 56 |
| 57 void Paint(const PaintInfo&, | 57 void Paint(const PaintInfo&, |
| 58 const LayoutPoint&, | 58 const LayoutPoint&, |
| 59 LayoutUnit line_top, | 59 LayoutUnit line_top, |
| 60 LayoutUnit line_bottom) const override; | 60 LayoutUnit line_bottom) const override; |
| 61 bool NodeAtPoint(HitTestResult&, | 61 bool NodeAtPoint(HitTestResult&, |
| 62 const HitTestLocation& location_in_container, | 62 const HitTestLocation& location_in_container, |
| 63 const LayoutPoint& accumulated_offset, | 63 const LayoutPoint& accumulated_offset, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 74 | 74 |
| 75 private: | 75 private: |
| 76 LayoutUnit height_; | 76 LayoutUnit height_; |
| 77 AtomicString str_; | 77 AtomicString str_; |
| 78 SelectionState selection_state_; | 78 SelectionState selection_state_; |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 } // namespace blink | 81 } // namespace blink |
| 82 | 82 |
| 83 #endif // EllipsisBox_h | 83 #endif // EllipsisBox_h |
| OLD | NEW |