| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
| 9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
| 10 * disclaimer. | 10 * disclaimer. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 25 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| 27 * OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * OF THE POSSIBILITY OF SUCH DAMAGE. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #ifndef LineWidth_h | 30 #ifndef LineWidth_h |
| 31 #define LineWidth_h | 31 #define LineWidth_h |
| 32 | 32 |
| 33 #include "core/layout/api/LineLayoutBlockFlow.h" | 33 #include "core/layout/api/LineLayoutBlockFlow.h" |
| 34 #include "platform/LayoutUnit.h" | 34 #include "platform/LayoutUnit.h" |
| 35 #include "wtf/Allocator.h" | 35 #include "platform/wtf/Allocator.h" |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 class FloatingObject; | 39 class FloatingObject; |
| 40 class LineLayoutRubyRun; | 40 class LineLayoutRubyRun; |
| 41 | 41 |
| 42 enum WhitespaceTreatment { kExcludeWhitespace, kIncludeWhitespace }; | 42 enum WhitespaceTreatment { kExcludeWhitespace, kIncludeWhitespace }; |
| 43 | 43 |
| 44 class LineWidth { | 44 class LineWidth { |
| 45 STACK_ALLOCATED(); | 45 STACK_ALLOCATED(); |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 LayoutUnit left_; | 118 LayoutUnit left_; |
| 119 LayoutUnit right_; | 119 LayoutUnit right_; |
| 120 LayoutUnit available_width_; | 120 LayoutUnit available_width_; |
| 121 bool is_first_line_; | 121 bool is_first_line_; |
| 122 IndentTextOrNot indent_text_; | 122 IndentTextOrNot indent_text_; |
| 123 }; | 123 }; |
| 124 | 124 |
| 125 } // namespace blink | 125 } // namespace blink |
| 126 | 126 |
| 127 #endif // LineWidth_h | 127 #endif // LineWidth_h |
| OLD | NEW |