| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2  * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 
| 3  * Copyright (C) 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. | 3  * Copyright (C) 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. | 
| 4  *               All right reserved. | 4  *               All right reserved. | 
| 5  * Copyright (C) 2010 Google Inc. All rights reserved. | 5  * Copyright (C) 2010 Google Inc. All rights reserved. | 
| 6  * Copyright (C) 2013 Adobe Systems Incorporated. | 6  * Copyright (C) 2013 Adobe Systems Incorporated. | 
| 7  * | 7  * | 
| 8  * This library is free software; you can redistribute it and/or | 8  * This library is free software; you can redistribute it and/or | 
| 9  * modify it under the terms of the GNU Library General Public | 9  * modify it under the terms of the GNU Library General Public | 
| 10  * License as published by the Free Software Foundation; either | 10  * License as published by the Free Software Foundation; either | 
| (...skipping 1546 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1557 } | 1557 } | 
| 1558 | 1558 | 
| 1559 inline IndentTextOrNot RequiresIndent(bool is_first_line, | 1559 inline IndentTextOrNot RequiresIndent(bool is_first_line, | 
| 1560                                       bool is_after_hard_line_break, | 1560                                       bool is_after_hard_line_break, | 
| 1561                                       const ComputedStyle& style) { | 1561                                       const ComputedStyle& style) { | 
| 1562   IndentTextOrNot indent_text = kDoNotIndentText; | 1562   IndentTextOrNot indent_text = kDoNotIndentText; | 
| 1563   if (is_first_line || (is_after_hard_line_break && | 1563   if (is_first_line || (is_after_hard_line_break && | 
| 1564                         style.GetTextIndentLine()) == TextIndentLine::kEachLine) | 1564                         style.GetTextIndentLine()) == TextIndentLine::kEachLine) | 
| 1565     indent_text = kIndentText; | 1565     indent_text = kIndentText; | 
| 1566 | 1566 | 
| 1567   if (style.GetTextIndentType() == kTextIndentHanging) | 1567   if (style.GetTextIndentType() == TextIndentType::kHanging) | 
| 1568     indent_text = indent_text == kIndentText ? kDoNotIndentText : kIndentText; | 1568     indent_text = indent_text == kIndentText ? kDoNotIndentText : kIndentText; | 
| 1569 | 1569 | 
| 1570   return indent_text; | 1570   return indent_text; | 
| 1571 } | 1571 } | 
| 1572 | 1572 | 
| 1573 }  // namespace blink | 1573 }  // namespace blink | 
| 1574 | 1574 | 
| 1575 #endif  // BreakingContextInlineHeaders_h | 1575 #endif  // BreakingContextInlineHeaders_h | 
| OLD | NEW | 
|---|